summaryrefslogtreecommitdiff
path: root/quantum/template/template.h
diff options
context:
space:
mode:
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 b1c34d3cbe..22742105a3 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.