diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 21:15:50 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 21:15:50 -0400 |
commit | 5a15c113d7458bf3bea6904e3c607898e961164c (patch) | |
tree | e96a0a45c77767d6aba452a7f82791bd104ac991 /tmk_core | |
parent | d94960be5b32b6a4019b822550ae09cf802bfcd7 (diff) | |
parent | 5c98ad59606ee95b82c27bf2525383a9ec88542b (diff) |
Merge branch 'personal_atomic_planck' of github.com:IBNobody/qmk_firmware
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tmk_core/common/command.c b/tmk_core/common/command.c index 7572b95979..f06abaf7f0 100644 --- a/tmk_core/common/command.c +++ b/tmk_core/common/command.c @@ -49,6 +49,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # 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); @@ -352,6 +356,9 @@ static bool command_common(uint8_t code) case MAGIC_KC(MAGIC_KEY_BOOTLOADER): clear_keyboard(); // clear to prevent stuck keys print("\n\nJumping to bootloader... "); + #ifdef AUDIO_ENABLE + play_goodbye_tone(); + #endif _delay_ms(1000); bootloader_jump(); // not return break; |