mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Fixup keychron/q1/iso_encoder (#19006)
This commit is contained in:
parent
b567622d59
commit
f7df771e70
|
@ -31,7 +31,7 @@
|
|||
/* RGB Matrix Configuration */
|
||||
#define DRIVER_1_LED_TOTAL 59
|
||||
#define DRIVER_2_LED_TOTAL 24
|
||||
#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)
|
||||
|
||||
/* Encoder Configuration */
|
||||
#define ENCODERS_PAD_A { E6 }
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
@ -147,4 +147,4 @@ led_config_t g_led_config = {
|
|||
}
|
||||
};
|
||||
|
||||
#endif // RGB_MATRIX_ENABLE
|
||||
#endif // RGB_MATRIX_ENABLE
|
||||
|
|
Loading…
Reference in a new issue