qmk/qmk_firmware

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

開放

#14,483 建立於 2021年9月17日

 (1 則留言) (0 個反應) (0 位負責人)C (43,867 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (20,368 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南