diff options
author | QMK Bot <[email protected]> | 2024-09-05 22:47:01 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2024-09-05 22:47:01 +0000 |
commit | 6af8d4210c35e42643d32fcba806885e6b6efab4 (patch) | |
tree | 1c71cd920f8d6c03938b7d12d6fdea0d430ddc40 /platforms | |
parent | 59ac1a08c898ca722e6c4b6fa57de1d44ea9b3ea (diff) | |
parent | 4a6ba1e808f02c285323447f620ca296c59ae2f2 (diff) | |
download | qmk_firmware-6af8d4210c35e42643d32fcba806885e6b6efab4.tar.gz qmk_firmware-6af8d4210c35e42643d32fcba806885e6b6efab4.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/chibios/drivers/ws2812_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/ws2812_spi.c b/platforms/chibios/drivers/ws2812_spi.c index ad2e87781c..9896f9e69d 100644 --- a/platforms/chibios/drivers/ws2812_spi.c +++ b/platforms/chibios/drivers/ws2812_spi.c @@ -133,7 +133,7 @@ static void set_led_color_rgb(rgb_led_t color, int pos) { #endif #ifdef WS2812_RGBW for (int j = 0; j < 4; j++) - tx_start[BYTES_FOR_LED * pos + BYTES_FOR_LED_BYTE * 4 + j] = get_protocol_eq(color.w, j); + tx_start[BYTES_FOR_LED * pos + BYTES_FOR_LED_BYTE * 3 + j] = get_protocol_eq(color.w, j); #endif } |