diff options
author | Jack Humbert <[email protected]> | 2016-04-29 22:19:40 -0400 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2016-04-29 22:19:40 -0400 |
commit | 0656f2fa10e25e160617c3e5d14cfbae35dd9c8d (patch) | |
tree | d93e122e84313a89b84ea2a1011093398cf75ab3 /quantum/template/template.h | |
parent | 9ab7098c834ffe601ad5c39759acfddabbd6373f (diff) | |
download | qmk_firmware-0656f2fa10e25e160617c3e5d14cfbae35dd9c8d.tar.gz qmk_firmware-0656f2fa10e25e160617c3e5d14cfbae35dd9c8d.zip |
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.h | 5 |
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. |