From 51f17f02317700e64b3c1113fe230d78bac7fecd Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 8 Dec 2010 01:47:57 +0900 Subject: add build option: NKRO_ENABLE(remove: USB_12KRO) --- tmk.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tmk.c') diff --git a/tmk.c b/tmk.c index f7042bd6f..b4f76f5d4 100644 --- a/tmk.c +++ b/tmk.c @@ -66,8 +66,7 @@ int main(void) matrix_init(); matrix_scan(); - // bootloader comes up when any 4 or more keys are pressed at startup - if (matrix_key_count() >= 4) { + if (matrix_key_count() >= 3) { #ifdef DEBUG_LED for (int i = 0; i < 6; i++) { DEBUG_LED_CONFIG; @@ -80,6 +79,13 @@ int main(void) _delay_ms(5000); #endif print_enable = true; + debug_enable = true; + debug_matrix = true; + debug_keyboard = true; + debug_mouse = true; + print("debug enabled.\n"); + } + if (matrix_key_count() >= 4) { print("jump to bootloader...\n"); _delay_ms(1000); jump_bootloader(); // not return -- cgit v1.2.3