فهرست منبع

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.
Takeshi ISHII 5 سال پیش
والد
کامیت
9dfebb9d67
3فایلهای تغییر یافته به همراه0 افزوده شده و 10 حذف شده
  1. 0 3
      tmk_core/protocol/chibios/main.c
  2. 0 4
      tmk_core/protocol/lufa/lufa.c
  3. 0 3
      tmk_core/protocol/vusb/main.c

+ 0 - 3
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

+ 0 - 4
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

+ 0 - 3
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