summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2020-03-16 18:26:32 +0900
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commit62510625fe2fd3d44382b045f68d8e184bc02561 (patch)
tree4869a84609a6315524169358e108eeb893a30b6a
parent19f7e089c0bf2e928cdcb272681d930d15eb8bfc (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.
-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.c4
3 files changed, 0 insertions, 11 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 3f7f94285f..f9a6aa45eb 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 12374227cf..1ab69f1534 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..068c4d8f3d 100644
--- a/tmk_core/protocol/vusb/main.c
+++ b/tmk_core/protocol/vusb/main.c
@@ -21,10 +21,6 @@
#include "uart.h"
#include "debug.h"
-#if defined(RGBLIGHT_ENABLE)
-# include "rgblight.h"
-#endif
-
#define UART_BAUD_RATE 115200
/* This is from main.c of USBaspLoader */