Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -58,12 +58,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 36
|
||||
# define DRIVER_2_LED_TOTAL 31
|
||||
# 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)
|
||||
|
||||
#else
|
||||
// IS31FL3731 driver
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_LED_TOTAL 67
|
||||
#define RGB_MATRIX_LED_COUNT 67
|
||||
|
||||
#define RGB_BACKLIGHT_ENABLED 1
|
||||
|
||||
|
@@ -19,7 +19,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, C2_1, C3_1, C4_1 },
|
||||
{ 0, C1_1, C3_2, C4_2 },
|
||||
{ 0, C1_2, C2_2, C4_3 },
|
||||
|
Reference in New Issue
Block a user