Skip to content

Commit

Permalink
fixes plover start sound
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Apr 30, 2016
1 parent 9edcfcd commit 9ab7098
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions keyboard/planck/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9ab7098

Please sign in to comment.