summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/planck.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-01-24 02:34:05 +0100
committerJack Humbert <jack.humb@gmail.com>2016-01-24 02:34:05 +0100
commit5143c59bdff8e0b8cb896b905ab643ab8293ea47 (patch)
tree7082bac0facec617715d55deddca2b448ad880fa /keyboard/planck/planck.h
parent544a49329cac78206c0d195f2e7bfd39db05507d (diff)
parentc753bfcc144e4158a1e683c2c93b32667dc08388 (diff)
downloadqmk_firmware-5143c59bdff8e0b8cb896b905ab643ab8293ea47.tar.gz
qmk_firmware-5143c59bdff8e0b8cb896b905ab643ab8293ea47.tar.xz
Merge branch 'audio' of https://github.com/jackhumbert/tmk_keyboard into smarkefile
Diffstat (limited to 'keyboard/planck/planck.h')
-rw-r--r--keyboard/planck/planck.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/planck/planck.h b/keyboard/planck/planck.h
index 4e59aef56..e775ea7c6 100644
--- a/keyboard/planck/planck.h
+++ b/keyboard/planck/planck.h
@@ -3,8 +3,13 @@
#include "matrix.h"
#include "keymap_common.h"
-#include "backlight.h"
+#ifdef BACKLIGHT_ENABLE
+ #include "backlight.h"
+#endif
#include <stddef.h>
+#ifdef MIDI_ENABLE
+ #include <keymap_midi.h>
+#endif
#define PLANCK_MIT( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \