summaryrefslogtreecommitdiff
path: root/tmk_core/common/command.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-05-24 17:55:46 -0500
committerIBNobody <ibnobody@gmail.com>2016-05-24 17:55:46 -0500
commit76e36a787a58ad0e72fac579e4a02aa66ce26be1 (patch)
tree22eb10d93b95cfb52560a91450a29bd9aabdbc61 /tmk_core/common/command.c
parent35d7081899df3a486b9b5785c7e8ec9481195848 (diff)
parentd66aa0abf96b5e887250cf0a7fa5e575f18c5a91 (diff)
Merge remote-tracking branch 'remotes/jackhumbert/master'
Diffstat (limited to 'tmk_core/common/command.c')
-rw-r--r--tmk_core/common/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c
index f06abaf7f0..9edcc42a05 100644
--- a/tmk_core/common/command.c
+++ b/tmk_core/common/command.c
@@ -357,9 +357,11 @@ static bool command_common(uint8_t code)
clear_keyboard(); // clear to prevent stuck keys
print("\n\nJumping to bootloader... ");
#ifdef AUDIO_ENABLE
+ stop_all_notes();
play_goodbye_tone();
+ #else
+ _delay_ms(1000);
#endif
- _delay_ms(1000);
bootloader_jump(); // not return
break;