diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-21 07:28:18 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 07:28:18 +1100 |
commit | a7d6643e3d230f4eceb9ee0e644c25b317b354b4 (patch) | |
tree | 2f70429b43daf513ad93f01e1fc771a8e82f85d3 /keyboards/planck/keymaps | |
parent | af678521c1d786fe5578f82c2f671f5553b08dfe (diff) |
Fix build failures uncovered by #18753 (#18789)
Diffstat (limited to 'keyboards/planck/keymaps')
-rw-r--r-- | keyboards/planck/keymaps/default/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/planck/keymaps/default/rules.mk | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index 9d3dbccfe6..39a3315b56 100644 --- a/keyboards/planck/keymaps/default/keymap.c +++ b/keyboards/planck/keymaps/default/keymap.c @@ -15,8 +15,10 @@ */ #include QMK_KEYBOARD_H -#include "muse.h" +#ifdef AUDIO_ENABLE +# include "muse.h" +#endif enum planck_layers { _QWERTY, diff --git a/keyboards/planck/keymaps/default/rules.mk b/keyboards/planck/keymaps/default/rules.mk index dcf16bef39..10751dc952 100644 --- a/keyboards/planck/keymaps/default/rules.mk +++ b/keyboards/planck/keymaps/default/rules.mk @@ -1 +1,3 @@ -SRC += muse.c +ifeq ($(strip $(AUDIO_ENABLE)), yes) + SRC += muse.c +endif |