diff options
| -rw-r--r-- | tmk_core/common/command.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index af7c83702..ee3188646 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c | |||
| @@ -359,15 +359,8 @@ static bool command_common(uint8_t code) { | |||
| 359 | // jump to bootloader | 359 | // jump to bootloader |
| 360 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER): | 360 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER): |
| 361 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER_ALT): | 361 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER_ALT): |
| 362 | clear_keyboard(); // clear to prevent stuck keys | ||
| 363 | print("\n\nJumping to bootloader... "); | 362 | print("\n\nJumping to bootloader... "); |
| 364 | #ifdef AUDIO_ENABLE | 363 | reset_keyboard(); |
| 365 | stop_all_notes(); | ||
| 366 | shutdown_user(); | ||
| 367 | #else | ||
| 368 | wait_ms(1000); | ||
| 369 | #endif | ||
| 370 | bootloader_jump(); // not return | ||
| 371 | break; | 364 | break; |
| 372 | 365 | ||
| 373 | // debug toggle | 366 | // debug toggle |
