Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
#define RGB_DI_PIN B3
|
||||
#define DRIVER_LED_TOTAL 42
|
||||
#define RGB_MATRIX_LED_COUNT 42
|
||||
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // limits maximum brightness of LEDs to x out of 255. If not defined maximum brightness is set to 255
|
||||
|
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
// WS2812 LED strings are addressed from 0 (1st) to DRIVER_LED_TOTAL-1 (last)
|
||||
// WS2812 LED strings are addressed from 0 (1st) to RGB_MATRIX_LED_COUNT-1 (last)
|
||||
{ 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30 },
|
||||
{ 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, __, 19 },
|
||||
{ 18, 17, 16, 15, 14, 13, 12, 11, 10, __, 9, 8 },
|
||||
|
Reference in New Issue
Block a user