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 | |
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')
-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 a3ad61bc7e..e6dbc5b9c1 100644 --- a/quantum/dynamic_macro.h +++ b/quantum/dynamic_macro.h @@ -8,8 +8,13 @@ /* May be overridden with a custom value. Be aware that the effective * macro length is half of this value: each keypress is recorded twice * because of the down-event and up-event. This is not a bug, it's the - * intended behavior. */ -#define DYNAMIC_MACRO_SIZE 256 + * intended behavior. + * + * Usually it should be fine to set the macro size to at least 256 but + * there have been reports of it being too much in some users' cases, + * so 128 is considered a safe default. + */ +#define DYNAMIC_MACRO_SIZE 128 #endif /* DYNAMIC_MACRO_RANGE must be set as the last element of user's |