summaryrefslogtreecommitdiff
path: root/keyboard/planck/keymaps
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-29 21:21:08 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-29 21:21:08 -0400
commit9ab7098c834ffe601ad5c39759acfddabbd6373f (patch)
treede8effeaac0a47cab870b6d8611241043a6426be /keyboard/planck/keymaps
parent9edcfcdf6f165b0896afded138fd0dcb97c552c0 (diff)
fixes plover start sound
Diffstat (limited to 'keyboard/planck/keymaps')
-rw-r--r--keyboard/planck/keymaps/default/keymap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboard/planck/keymaps/default/keymap.c b/keyboard/planck/keymaps/default/keymap.c
index e7a9ea9e4c..ac4937b69e 100644
--- a/keyboard/planck/keymaps/default/keymap.c
+++ b/keyboard/planck/keymaps/default/keymap.c
@@ -319,15 +319,13 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case 12:
if (record->event.pressed) {
#ifdef AUDIO_ENABLE
+ stop_all_notes();
PLAY_NOTE_ARRAY(tone_plover, false, 0);
#endif
layer_off(_RAISE);
layer_off(_LOWER);
layer_off(_ADJUST);
layer_off(_MUSIC);
- #ifdef AUDIO_ENABLE
- stop_all_notes();
- #endif
layer_on(_PLOVER);
if (!eeconfig_is_enabled()) {
eeconfig_init();