diff options
author | Jon Allen <ylixir@users.noreply.github.com> | 2018-06-12 19:32:56 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-06-12 17:32:56 -0700 |
commit | 974d155505d30d8cdf60569ca3c481b9b9fa926a (patch) | |
tree | 71181291b87a8d50f206d5aad3e7f857198c0594 | |
parent | 2bf18d02161e08387aa8a1a68e63d7a6771f13db (diff) | |
download | qmk_firmware-974d155505d30d8cdf60569ca3c481b9b9fa926a.tar.gz |
fix issue with rgbinit unused variable (#3165)
* fix issue with rgbinit wiping out customization.
* removed unused variable
-rw-r--r-- | quantum/rgblight.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 8b2a3cd9f..4e2671d24 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -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) { @@ -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"); |