From 0a5ad7a54d8a5662a3aa4a41d8a1b9dd473498eb Mon Sep 17 00:00:00 2001 From: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Date: Mon, 16 Mar 2020 18:26:32 +0900 Subject: [PATCH] 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. --- tmk_core/protocol/chibios/main.c | 3 --- tmk_core/protocol/lufa/lufa.c | 4 ---- tmk_core/protocol/vusb/main.c | 3 --- 3 files changed, 10 deletions(-) diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c index 218a79f8ba1f..6479fd09df20 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 ca75a91d0e71..d673841fd55c 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 6b3f09bc3e14..469b2ecc5ffc 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