qmk/qmk_firmware

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

Open

#14.483 aperta il 17 set 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

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

  • Keyboard: Keebio BDN9
    • Revision (if applicable): Rev. 1
  • Operating system: Windows 10
  • AVR GCC version: 5.4.0
  • ARM GCC version: 9.2.1 20191025
  • QMK Firmware version: 0.14.16
  • Any keyboard related software installed?
    • AutoHotKey
    • Karabiner
    • Other:

Additional Context

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

Guida contributor