Skip to content

Commit

Permalink
fix issue with rgbinit unused variable (#3165)
Browse files Browse the repository at this point in the history
* fix issue with rgbinit wiping out customization.

* removed unused variable
  • Loading branch information
ylixir authored and drashna committed Jun 13, 2018
1 parent 2bf18d0 commit 974d155
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions quantum/rgblight.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const uint16_t RGBLED_RGBTEST_INTERVALS[] PROGMEM = {1024};
rgblight_config_t rgblight_config;

LED_TYPE led[RGBLED_NUM];
uint8_t rgblight_inited = 0;
bool rgblight_timer_enabled = false;

void sethsv(uint16_t hue, uint8_t sat, uint8_t val, LED_TYPE *led1) {
Expand Down Expand Up @@ -142,7 +141,6 @@ void eeconfig_debug_rgblight(void) {
void rgblight_init(void) {
debug_enable = 1; // Debug ON!
dprintf("rgblight_init called.\n");
rgblight_inited = 1;
dprintf("rgblight_init start!\n");
if (!eeconfig_is_enabled()) {
dprintf("rgblight_init eeconfig is not enabled.\n");
Expand Down

0 comments on commit 974d155

Please sign in to comment.