Browse Source

adds condition to one last audio ref in planck default

pull/292/head
Jack Humbert 8 years ago
parent
commit
27d24faf39
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      keyboard/planck/keymaps/default/keymap.c

+ 3
- 1
keyboard/planck/keymaps/default/keymap.c View File

@ -325,7 +325,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
layer_off(_LOWER);
layer_off(_ADJUST);
layer_off(_MUSIC);
stop_all_notes();
#ifdef AUDIO_ENABLE
stop_all_notes();
#endif
layer_on(_PLOVER);
if (!eeconfig_is_enabled()) {
eeconfig_init();


Loading…
Cancel
Save