summaryrefslogtreecommitdiffstats
path: root/quantum/template/template.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-30 04:19:40 +0200
committerJack Humbert <jack.humb@gmail.com>2016-04-30 04:19:40 +0200
commit0656f2fa10e25e160617c3e5d14cfbae35dd9c8d (patch)
treed93e122e84313a89b84ea2a1011093398cf75ab3 /quantum/template/template.h
parent9ab7098c834ffe601ad5c39759acfddabbd6373f (diff)
downloadqmk_firmware-0656f2fa10e25e160617c3e5d14cfbae35dd9c8d.tar.gz
qmk_firmware-0656f2fa10e25e160617c3e5d14cfbae35dd9c8d.tar.xz
moves backlight functionality to keyboard files and updates template makefile
previously there were two backlight.c files (bad)
Diffstat (limited to 'quantum/template/template.h')
-rw-r--r--quantum/template/template.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/template/template.h b/quantum/template/template.h
index b1c34d3cb..22742105a 100644
--- a/quantum/template/template.h
+++ b/quantum/template/template.h
@@ -3,7 +3,10 @@
#include "matrix.h"
#include "keymap_common.h"
-#include "backlight.h"
+#ifdef BACKLIGHT_ENABLE
+ #include "backlight.h"
+#endif
+#include <avr/io.h>
#include <stddef.h>
// This a shortcut to help you visually see your layout.