We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3200a7 commit 6911558Copy full SHA for 6911558
common_features.mk
@@ -20,6 +20,11 @@ QUANTUM_SRC += \
20
$(QUANTUM_DIR)/keymap_common.c \
21
$(QUANTUM_DIR)/keycode_config.c
22
23
+ifeq ($(strip $(DEBUG_MATRIX_SCAN_RATE_ENABLE)), yes)
24
+ OPT_DEFS += -DDEBUG_MATRIX_SCAN_RATE
25
+ CONSOLE_ENABLE = yes
26
+endif
27
+
28
ifeq ($(strip $(API_SYSEX_ENABLE)), yes)
29
OPT_DEFS += -DAPI_SYSEX_ENABLE
30
OPT_DEFS += -DAPI_ENABLE
tmk_core/common/keyboard.c
@@ -299,6 +299,10 @@ void keyboard_init(void) {
299
dip_switch_init();
300
#endif
301
302
+#if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE)
303
+ debug_enable = true;
304
+#endif
305
306
keyboard_post_init_kb(); /* Always keep this last */
307
}
308
0 commit comments