diff options
author | tmk <nobody@nowhere> | 2010-12-08 01:47:57 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-12-08 01:57:55 +0900 |
commit | 51f17f02317700e64b3c1113fe230d78bac7fecd (patch) | |
tree | a040a624004cd3cec2d2fd122069554a4039b8e1 /tmk.c | |
parent | 66ece29b0e14534d57b680db47a5967d5264ca85 (diff) |
add build option: NKRO_ENABLE(remove: USB_12KRO)
Diffstat (limited to 'tmk.c')
-rw-r--r-- | tmk.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |