summaryrefslogtreecommitdiff
path: root/keyboard/planck/planck.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-01-23 20:34:05 -0500
committerJack Humbert <jack.humb@gmail.com>2016-01-23 20:34:05 -0500
commit5143c59bdff8e0b8cb896b905ab643ab8293ea47 (patch)
tree7082bac0facec617715d55deddca2b448ad880fa /keyboard/planck/planck.h
parent544a49329cac78206c0d195f2e7bfd39db05507d (diff)
parentc753bfcc144e4158a1e683c2c93b32667dc08388 (diff)
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 4e59aef566..e775ea7c62 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, \