Remove unnecessary import of rgblight.h in tmk_core/protocol/*/*.c (#8432)
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>
Mon, 16 Mar 2020 09:26:32 +0000 (18:26 +0900)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 09:26:32 +0000 (10:26 +0100)
* Remove unnecessary import of rgblight.h in tmk_core/protocol/*/*.c

 * tmk_core/protocol/chibios/main.c
 * tmk_core/protocol/lufa/lufa.c

see #8380 for tmk_core/protocol/vusb/main.c.

* Remove '#include "rgblight.h"' from tmk_core/protocol/vusb/main.c.

tmk_core/protocol/chibios/main.c
tmk_core/protocol/lufa/lufa.c
tmk_core/protocol/vusb/main.c

index 218a79f..6479fd0 100644 (file)
@@ -33,9 +33,6 @@
 #include "debug.h"
 #include "printf.h"
 
-#if defined(RGBLIGHT_ENABLE)
-#    include "rgblight.h"
-#endif
 #ifdef SLEEP_LED_ENABLE
 #    include "sleep_led.h"
 #endif
index ca75a91..d673841 100644 (file)
@@ -77,10 +77,6 @@ extern keymap_config_t keymap_config;
 #    include "virtser.h"
 #endif
 
-#if defined(RGBLIGHT_ENABLE)
-#    include "rgblight.h"
-#endif
-
 #ifdef MIDI_ENABLE
 #    include "qmk_midi.h"
 #endif
index 6b3f09b..469b2ec 100644 (file)
@@ -21,9 +21,6 @@
 #include "uart.h"
 #include "debug.h"
 
-#if defined(RGBLIGHT_ENABLE)
-#    include "rgblight.h"
-#endif
 
 #define UART_BAUD_RATE 115200