qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
17.52k stars 37.8k forks source link

[Bug] RGBLED_NUM needs one more than actual number of LEDs #14483

Open ericedelman-gh opened 2 years ago

ericedelman-gh commented 2 years ago

Describe the Bug

The last LED in the row of addressable RGB LEDs on my keyboard fails to light up when using the standard firmware. Increasing the number of LEDs defined in config.h by one solves the problem. The value then is 5 though, while I have only 4 LEDs on the keyboard.

System Information

Additional Context

The LEDs use SK6812 drivers, which should be drop-in clones of the WS2812B.

drashna commented 2 years ago

This is for an AVR board (atmega32u4, or similar), then this is a known issue with the bitbang driver using for ws2812