Change DRIVER_LED_COUNT
to {LED,RGB}_MATRIX_LED_COUNT
(#18399)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A15 }
|
||||
|
||||
#define RGB_DI_PIN A7
|
||||
#define DRIVER_LED_TOTAL 91
|
||||
#define RGB_MATRIX_LED_COUNT 91
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 32
|
||||
#define DRIVER_2_LED_TOTAL 36
|
||||
#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)
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include "adelais.h"
|
||||
|
||||
#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}, //D102-A0-0
|
||||
{0, C5_1, C6_1, C7_1}, //D108-A1-1
|
||||
|
@@ -51,7 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// 0b1110110 AD <-> SDA
|
||||
#define DRIVER_ADDR_1 0b0110010
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 66
|
||||
#define RGB_MATRIX_LED_COUNT 66
|
||||
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include "rev3.h"
|
||||
|
||||
#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, CS3_SW5, CS2_SW5, CS1_SW5}, /* D9-K31-00 */
|
||||
{0, CS6_SW5, CS5_SW5, CS4_SW5}, /* D46-K00-01 */
|
||||
{0, CS6_SW9, CS5_SW9, CS4_SW9}, /* D59-K01-02 */
|
||||
|
Reference in New Issue
Block a user