summaryrefslogtreecommitdiff
path: root/tmk.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk.c')
-rw-r--r--tmk.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tmk.c b/tmk.c
index f7042bd6fb..b4f76f5d4a 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