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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/template/template.h b/quantum/template/template.h
index b1c34d3cbe..8537e3b4be 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.
@@ -21,7 +24,7 @@
void matrix_init_user(void);
void matrix_scan_user(void);
-void process_action_user(keyrecord_t *record);
+bool process_action_user(keyrecord_t *record);
void led_set_user(uint8_t usb_led);
#endif