Fixup keychron/q5 (#19119)

This commit is contained in:
jack
2022-11-20 14:30:40 +00:00
committed by GitHub
parent 543a863766
commit 6c40a46057
9 changed files with 11 additions and 9 deletions

View File

@@ -19,7 +19,7 @@
/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 55
#define DRIVER_2_LED_TOTAL 46
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
/* Enable caps-lock LED */
#define CAPS_LOCK_LED_INDEX 53

View File

@@ -20,7 +20,7 @@
// clang-format off
const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location