aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/dynamic_macro.h
diff options
context:
space:
mode:
authorGravatar Wojciech Siewierski <wojciech.siewierski@onet.pl>2016-10-09 12:52:39 +0200
committerGravatar Wojciech Siewierski <wojciech.siewierski@onet.pl>2016-10-09 12:52:39 +0200
commit70f32842e5d94f14d05c1f9adcb1b1144a25a132 (patch)
treebefd2c5ed38da2b730f5db75748e99d44ba2e812 /quantum/dynamic_macro.h
parenta9df99b81c787862dc3fa11bd854fe39e704da81 (diff)
downloadqmk_firmware-70f32842e5d94f14d05c1f9adcb1b1144a25a132.tar.gz
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.h9
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 @@
/* 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