summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index cb0dc06e60..6bc6fae6e2 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -64,18 +64,6 @@ void keyboard_init(void)
#ifdef BOOTMAGIC_ENABLE
bootmagic();
-
- if (eeconfig_is_enabled()) {
- uint8_t config;
- config = eeconfig_read_debug();
- // ignored if debug is enabled by program before.
- if (!debug_enable) debug_enable = (config & EECONFIG_DEBUG_ENABLE);
- if (!debug_matrix) debug_matrix = (config & EECONFIG_DEBUG_MATRIX);
- if (!debug_keyboard) debug_keyboard = (config & EECONFIG_DEBUG_KEYBOARD);
- if (!debug_mouse) debug_mouse = (config & EECONFIG_DEBUG_MOUSE);
- } else {
- eeconfig_init();
- }
#endif
}