summaryrefslogtreecommitdiff
path: root/keyboard/planck/planck.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-01-23 20:37:00 -0500
committerJack Humbert <jack.humb@gmail.com>2016-01-23 20:37:00 -0500
commit9a1ae948c9e19d3153512c196801a969c9637732 (patch)
tree948641e82788ee298468da9090749f79ad765c00 /keyboard/planck/planck.h
parente5aee62e54d0b6f02ff170f4e9bf1e738d36fb4c (diff)
parentae620fe8562254a5c00a48b863cabd4c87abd613 (diff)
Merge pull request #104 from jackhumbert/smarkefile
Rework Planck file structure
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, \