diff options
author | Joel Challis <git@zvecr.com> | 2019-10-17 17:48:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-17 17:48:58 +0100 |
commit | abfd6ed9613013d3c9f15da8b575a902d9bcf274 (patch) | |
tree | 8f2a4601586a7bc67f5f684e0d07b41e9608f3b3 /quantum/quantum.c | |
parent | e3a21348c3879c11072c7c42d3b4d04b022f4fe2 (diff) | |
download | qmk_firmware-abfd6ed9613013d3c9f15da8b575a902d9bcf274.tar.gz qmk_firmware-abfd6ed9613013d3c9f15da8b575a902d9bcf274.zip |
Move tmk_core/common/backlight to quantum/backlight (#6710)
* Move tmk_core/common/backlight to quantum/backlight
* Add guards to backlight inclusion
* Add guards to backlight inclusion
* Update backlight guards on clueboard/60
* Use full paths to avoid vpath issues
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index e615cfc0f..2020770ea 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
@@ -24,8 +24,10 @@ | |||
24 | # include "outputselect.h" | 24 | # include "outputselect.h" |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #include "backlight.h" | 27 | #ifdef BACKLIGHT_ENABLE |
28 | extern backlight_config_t backlight_config; | 28 | # include "backlight.h" |
29 | extern backlight_config_t backlight_config; | ||
30 | #endif | ||
29 | 31 | ||
30 | #ifdef FAUXCLICKY_ENABLE | 32 | #ifdef FAUXCLICKY_ENABLE |
31 | # include "fauxclicky.h" | 33 | # include "fauxclicky.h" |