summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2020-03-16 18:26:32 +0900
committerGitHub <noreply@github.com>2020-03-16 10:26:32 +0100
commit9dfebb9d67a211db3ded762b60ee868299dd406e (patch)
treeee294ae3d187fc27e1ef26e868fb2408e3afe36d /tmk_core/protocol
parent2a31fbf9a6970ed425c2331f25fb7f92648ffcf1 (diff)
Remove unnecessary import of rgblight.h in tmk_core/protocol/*/*.c (#8432)
* 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.
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/main.c3
-rw-r--r--tmk_core/protocol/lufa/lufa.c4
-rw-r--r--tmk_core/protocol/vusb/main.c3
3 files changed, 0 insertions, 10 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 218a79f8ba..6479fd09df 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -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
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index ca75a91d0e..d673841fd5 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -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
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c
index 6b3f09bc3e..469b2ecc5f 100644
--- a/tmk_core/protocol/vusb/main.c
+++ b/tmk_core/protocol/vusb/main.c
@@ -21,9 +21,6 @@
#include "uart.h"
#include "debug.h"
-#if defined(RGBLIGHT_ENABLE)
-# include "rgblight.h"
-#endif
#define UART_BAUD_RATE 115200