adds condition to one last audio ref in planck default
parent
ca9b85f702
commit
27d24faf39
|
@ -325,7 +325,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||||
layer_off(_LOWER);
|
layer_off(_LOWER);
|
||||||
layer_off(_ADJUST);
|
layer_off(_ADJUST);
|
||||||
layer_off(_MUSIC);
|
layer_off(_MUSIC);
|
||||||
|
#ifdef AUDIO_ENABLE
|
||||||
stop_all_notes();
|
stop_all_notes();
|
||||||
|
#endif
|
||||||
layer_on(_PLOVER);
|
layer_on(_PLOVER);
|
||||||
if (!eeconfig_is_enabled()) {
|
if (!eeconfig_is_enabled()) {
|
||||||
eeconfig_init();
|
eeconfig_init();
|
||||||
|
|
Loading…
Reference in New Issue