qmk/qmk_firmware

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

Offen

#14.483 geöffnet am 17.09.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (43.867 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (20.368 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide