diff options
author | IBNobody <ibnobody@gmail.com> | 2016-04-17 20:14:37 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-04-17 20:14:37 -0500 |
commit | 5c98ad59606ee95b82c27bf2525383a9ec88542b (patch) | |
tree | 99124a3567045aff6922a39a7062f27bd38e132a /tmk_core/common/command.c | |
parent | 23231fa577f7c6c585124226a83f21a7668e62dd (diff) | |
download | qmk_firmware-5c98ad59606ee95b82c27bf2525383a9ec88542b.tar.gz qmk_firmware-5c98ad59606ee95b82c27bf2525383a9ec88542b.zip |
Added extra songs, LED indicator notes
Diffstat (limited to 'tmk_core/common/command.c')
-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 7572b9597..f06abaf7f 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/>. | |||
49 | # include "usbdrv.h" | 49 | # include "usbdrv.h" |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | #ifdef AUDIO_ENABLE | ||
53 | #include "audio.h" | ||
54 | #endif /* AUDIO_ENABLE */ | ||
55 | |||
52 | 56 | ||
53 | static bool command_common(uint8_t code); | 57 | static bool command_common(uint8_t code); |
54 | static void command_common_help(void); | 58 | static void command_common_help(void); |
@@ -352,6 +356,9 @@ static bool command_common(uint8_t code) | |||
352 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER): | 356 | case MAGIC_KC(MAGIC_KEY_BOOTLOADER): |
353 | clear_keyboard(); // clear to prevent stuck keys | 357 | clear_keyboard(); // clear to prevent stuck keys |
354 | print("\n\nJumping to bootloader... "); | 358 | print("\n\nJumping to bootloader... "); |
359 | #ifdef AUDIO_ENABLE | ||
360 | play_goodbye_tone(); | ||
361 | #endif | ||
355 | _delay_ms(1000); | 362 | _delay_ms(1000); |
356 | bootloader_jump(); // not return | 363 | bootloader_jump(); // not return |
357 | break; | 364 | break; |