summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-01-14 22:03:01 +0000
committerfauxpark <fauxpark@gmail.com>2020-01-15 09:03:01 +1100
commitb69b1ad4fcd9f011153973f2ccec004ea004ecb6 (patch)
tree070624239c3464a98089d3076e581f5068bdca54
parentbb652314beb34fe4680d58d05a4538e5772f97be (diff)
downloadqmk_firmware-b69b1ad4fcd9f011153973f2ccec004ea004ecb6.tar.gz
qmk_firmware-b69b1ad4fcd9f011153973f2ccec004ea004ecb6.zip
Fix NK65 indicator code after refactoring (#7902)
-rw-r--r--keyboards/wilba_tech/wt_rgb_backlight.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c
index 88fecba174..babb844d26 100644
--- a/keyboards/wilba_tech/wt_rgb_backlight.c
+++ b/keyboards/wilba_tech/wt_rgb_backlight.c
@@ -1238,7 +1238,10 @@ void backlight_set_color_all( uint8_t red, uint8_t green, uint8_t blue )
#if defined(RGB_BACKLIGHT_M6_B)
IS31FL3218_set_color_all( red, green, blue );
#elif defined(RGB_BACKLIGHT_HS60) || defined(RGB_BACKLIGHT_NK65)
- IS31FL3733_set_color_all( red, green, blue );
+ // This is done to avoid indicator LEDs being set
+ for (int i = 0; i < BACKLIGHT_LED_COUNT; i++) {
+ IS31FL3733_set_color(i, red, green, blue);
+ }
#elif defined(RGB_BACKLIGHT_DAWN60)
IS31FL3731_set_color_all( red, green, blue );
for (uint8_t i = 0; i < WS2812_LED_TOTAL; i++) {