summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/command.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-05-09 19:17:15 +0200
committerJack Humbert <jack.humb@gmail.com>2016-05-09 19:17:15 +0200
commit3f02637f4dd765803671c2611191beb096d60b36 (patch)
treec11714b62494097226253d3951de2472e7954129 /tmk_core/common/command.c
parent684793360cdb08ac1e50a6d27e1796fadd527adb (diff)
downloadqmk_firmware-3f02637f4dd765803671c2611191beb096d60b36.tar.gz
qmk_firmware-3f02637f4dd765803671c2611191beb096d60b36.tar.xz
Backlight Breathing for Planck and Atomic
* Updated personal layouts * tweaked personal * Nightly - Audio Cleanup Refactored the LUTs. Abstracted some of the registers out of audio to use more functional names. Split audio into audio and audio_pwm. WIP * nightly - collapsed code * Added check for note playing to LEDs * Usability tweaks * TWEAE * nightly added extra kcs to keymap common * turned on Plank audio * Added backlight breathing to atomic * reverted accidental merge * adds backlight pulse to planck
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 f06abaf7f..9edcc42a0 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;