Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -100,12 +100,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_1_LED_TOTAL 98
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#else
|
||||
// WT_RGB IS31FL3741 driver code
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 98
|
||||
# define RGB_MATRIX_LED_COUNT 98
|
||||
|
||||
# define RGB_BACKLIGHT_ENABLED 1
|
||||
|
||||
|
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#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] = {
|
||||
{0, CS18_SW1, CS17_SW1, CS16_SW1},
|
||||
{0, CS18_SW2, CS17_SW2, CS16_SW2},
|
||||
{0, CS18_SW3, CS17_SW3, CS16_SW3},
|
||||
|
Reference in New Issue
Block a user