diff options
author | Joel Challis <git@zvecr.com> | 2019-10-17 17:48:58 +0100 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2019-12-05 16:03:52 -0800 |
commit | 4af7cbcc719e6fa7aef0991d87e372a280c430d4 (patch) | |
tree | 43a0c46c63771b4d9da00deecce6e25cc1a10739 /tmk_core/common/avr | |
parent | e54578a89cbfffba11b3857039296e5de766dd34 (diff) |
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 'tmk_core/common/avr')
-rw-r--r-- | tmk_core/common/avr/suspend.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 574000fcd8..c59c196880 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c @@ -4,7 +4,6 @@ #include <avr/interrupt.h> #include "matrix.h" #include "action.h" -#include "backlight.h" #include "suspend_avr.h" #include "suspend.h" #include "timer.h" @@ -16,6 +15,10 @@ # include "lufa.h" #endif +#ifdef BACKLIGHT_ENABLE +# include "backlight.h" +#endif + #ifdef AUDIO_ENABLE # include "audio.h" #endif /* AUDIO_ENABLE */ |