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 /tmk_core/common/action.c | |
parent | e3a21348c3879c11072c7c42d3b4d04b022f4fe2 (diff) | |
download | qmk_firmware-abfd6ed9613013d3c9f15da8b575a902d9bcf274.tar.gz |
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/action.c')
-rw-r--r-- | tmk_core/common/action.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 44b19d368..bd6aeba4f 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "mousekey.h" #include "command.h" #include "led.h" -#include "backlight.h" #include "action_layer.h" #include "action_tapping.h" #include "action_macro.h" @@ -28,6 +27,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "action.h" #include "wait.h" +#ifdef BACKLIGHT_ENABLE +# include "backlight.h" +#endif + #ifdef DEBUG_ACTION # include "debug.h" #else |