diff options
| author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2016-10-09 12:52:39 +0200 |
|---|---|---|
| committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2016-10-09 12:52:39 +0200 |
| commit | 70f32842e5d94f14d05c1f9adcb1b1144a25a132 (patch) | |
| tree | befd2c5ed38da2b730f5db75748e99d44ba2e812 /quantum/dynamic_macro.h | |
| parent | a9df99b81c787862dc3fa11bd854fe39e704da81 (diff) | |
| download | qmk_firmware-70f32842e5d94f14d05c1f9adcb1b1144a25a132.tar.gz qmk_firmware-70f32842e5d94f14d05c1f9adcb1b1144a25a132.zip | |
Reduce the default dynamic macro buffer
There have been reports of it leaving not enough free memory preventing
the keyboard from working properly.
Diffstat (limited to 'quantum/dynamic_macro.h')
| -rw-r--r-- | quantum/dynamic_macro.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/quantum/dynamic_macro.h b/quantum/dynamic_macro.h index a3ad61bc7..e6dbc5b9c 100644 --- a/quantum/dynamic_macro.h +++ b/quantum/dynamic_macro.h | |||
| @@ -8,8 +8,13 @@ | |||
| 8 | /* May be overridden with a custom value. Be aware that the effective | 8 | /* May be overridden with a custom value. Be aware that the effective |
| 9 | * macro length is half of this value: each keypress is recorded twice | 9 | * macro length is half of this value: each keypress is recorded twice |
| 10 | * because of the down-event and up-event. This is not a bug, it's the | 10 | * because of the down-event and up-event. This is not a bug, it's the |
| 11 | * intended behavior. */ | 11 | * intended behavior. |
| 12 | #define DYNAMIC_MACRO_SIZE 256 | 12 | * |
| 13 | * Usually it should be fine to set the macro size to at least 256 but | ||
| 14 | * there have been reports of it being too much in some users' cases, | ||
| 15 | * so 128 is considered a safe default. | ||
| 16 | */ | ||
| 17 | #define DYNAMIC_MACRO_SIZE 128 | ||
| 13 | #endif | 18 | #endif |
| 14 | 19 | ||
| 15 | /* DYNAMIC_MACRO_RANGE must be set as the last element of user's | 20 | /* DYNAMIC_MACRO_RANGE must be set as the last element of user's |
