Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -67,7 +67,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* LED matrix driver */
|
||||
#define LED_DRIVER_ADDR_1 0x74
|
||||
#define LED_DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 76
|
||||
#define LED_MATRIX_LED_COUNT 76
|
||||
#define LED_MATRIX_SPLIT { 38, 38 }
|
||||
#define LED_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
||||
|
@@ -174,7 +174,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
#endif
|
||||
|
||||
#ifdef LED_MATRIX_ENABLE
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[LED_MATRIX_LED_COUNT] = {
|
||||
// The numbers in the comments are the led numbers DXX on the PCB
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
|
Reference in New Issue
Block a user