summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id42
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-09-23 22:46:23 +1000
committerGitHub <noreply@github.com>2022-09-23 22:46:23 +1000
commit36c410592dbd35da33ccc5fd6d2a5cbf4b25a708 (patch)
tree4e75c5fc5cd31d9fdc904876906c0b409ee45d90 /keyboards/idobao/id42
parentd967de0df749f3be63403e07feda416ea09351d0 (diff)
Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)
Diffstat (limited to 'keyboards/idobao/id42')
-rwxr-xr-xkeyboards/idobao/id42/config.h2
-rwxr-xr-xkeyboards/idobao/id42/id42.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/idobao/id42/config.h b/keyboards/idobao/id42/config.h
index a95578a9b3..bef9120005 100755
--- a/keyboards/idobao/id42/config.h
+++ b/keyboards/idobao/id42/config.h
@@ -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
diff --git a/keyboards/idobao/id42/id42.c b/keyboards/idobao/id42/id42.c
index ea3dccdfed..15cc0b41b0 100755
--- a/keyboards/idobao/id42/id42.c
+++ b/keyboards/idobao/id42/id42.c
@@ -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 },