Skip to content

Commit

Permalink
Remove unnecessary import of rgblight.h in tmk_core/protocol/*/*.c (q…
Browse files Browse the repository at this point in the history
…mk#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 qmk#8380 for tmk_core/protocol/vusb/main.c.

* Remove '#include "rgblight.h"' from tmk_core/protocol/vusb/main.c.
  • Loading branch information
mtei authored and HokieGeek committed Apr 10, 2020
1 parent a25e823 commit fcfe22b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions tmk_core/protocol/chibios/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tmk_core/protocol/lufa/lufa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions tmk_core/protocol/vusb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
#include "uart.h"
#include "debug.h"

#if defined(RGBLIGHT_ENABLE)
# include "rgblight.h"
#endif

#define UART_BAUD_RATE 115200

Expand Down

0 comments on commit fcfe22b

Please sign in to comment.