diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2020-03-16 18:26:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 10:26:32 +0100 |
commit | 9dfebb9d67a211db3ded762b60ee868299dd406e (patch) | |
tree | ee294ae3d187fc27e1ef26e868fb2408e3afe36d /tmk_core | |
parent | 2a31fbf9a6970ed425c2331f25fb7f92648ffcf1 (diff) | |
download | qmk_firmware-9dfebb9d67a211db3ded762b60ee868299dd406e.tar.gz qmk_firmware-9dfebb9d67a211db3ded762b60ee868299dd406e.zip |
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')
-rw-r--r-- | tmk_core/protocol/chibios/main.c | 3 | ||||
-rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 4 | ||||
-rw-r--r-- | tmk_core/protocol/vusb/main.c | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c index 218a79f8b..6479fd09d 100644 --- a/tmk_core/protocol/chibios/main.c +++ b/tmk_core/protocol/chibios/main.c | |||
@@ -33,9 +33,6 @@ | |||
33 | #include "debug.h" | 33 | #include "debug.h" |
34 | #include "printf.h" | 34 | #include "printf.h" |
35 | 35 | ||
36 | #if defined(RGBLIGHT_ENABLE) | ||
37 | # include "rgblight.h" | ||
38 | #endif | ||
39 | #ifdef SLEEP_LED_ENABLE | 36 | #ifdef SLEEP_LED_ENABLE |
40 | # include "sleep_led.h" | 37 | # include "sleep_led.h" |
41 | #endif | 38 | #endif |
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index ca75a91d0..d673841fd 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; | |||
77 | # include "virtser.h" | 77 | # include "virtser.h" |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #if defined(RGBLIGHT_ENABLE) | ||
81 | # include "rgblight.h" | ||
82 | #endif | ||
83 | |||
84 | #ifdef MIDI_ENABLE | 80 | #ifdef MIDI_ENABLE |
85 | # include "qmk_midi.h" | 81 | # include "qmk_midi.h" |
86 | #endif | 82 | #endif |
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c index 6b3f09bc3..469b2ecc5 100644 --- a/tmk_core/protocol/vusb/main.c +++ b/tmk_core/protocol/vusb/main.c | |||
@@ -21,9 +21,6 @@ | |||
21 | #include "uart.h" | 21 | #include "uart.h" |
22 | #include "debug.h" | 22 | #include "debug.h" |
23 | 23 | ||
24 | #if defined(RGBLIGHT_ENABLE) | ||
25 | # include "rgblight.h" | ||
26 | #endif | ||
27 | 24 | ||
28 | #define UART_BAUD_RATE 115200 | 25 | #define UART_BAUD_RATE 115200 |
29 | 26 | ||