# include "usbdrv.h"
#endif
+#ifdef AUDIO_ENABLE
+ #include "audio.h"
+#endif /* AUDIO_ENABLE */
+
static bool command_common(uint8_t code);
static void command_common_help(void);
case MAGIC_KC(MAGIC_KEY_BOOTLOADER):
clear_keyboard(); // clear to prevent stuck keys
print("\n\nJumping to bootloader... ");
- _delay_ms(1000);
+ #ifdef AUDIO_ENABLE
+ stop_all_notes();
+ play_goodbye_tone();
+ #else
+ _delay_ms(1000);
+ #endif
bootloader_jump(); // not return
break;