]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/command.c
Backlight Breathing for Planck and Atomic
[qmk_firmware.git] / tmk_core / common / command.c
index f06abaf7f02b9af7374cba20127d5ca0efd493b7..9edcc42a05b48fc56ad3115acd517d394f60d31f 100644 (file)
@@ -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;