From 4e93b3fa67d3b8170de2f05322738e08ac17948e Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 7 Apr 2013 15:36:50 +0900 Subject: Fix bootmagic and eeconfig for virtual DIP SW --- common/keyboard.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'common/keyboard.c') 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 } -- cgit v1.2.3