diff --git a/drivers/led/issi/is31flcommon.h b/drivers/led/issi/is31flcommon.h index 18432ffc31..57dccb2cd7 100644 --- a/drivers/led/issi/is31flcommon.h +++ b/drivers/led/issi/is31flcommon.h @@ -43,7 +43,7 @@ typedef struct is31_led { uint8_t b; } __attribute__((packed)) is31_led; -extern const is31_led __flash g_is31_leds[RGB_MATRIX_LED_COUNT]; +extern const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT]; #elif defined(LED_MATRIX_ENABLE) typedef struct is31_led { diff --git a/keyboards/lotus/keymaps/78_ansi/keymap.c b/keyboards/lotus/keymaps/78_ansi/keymap.c index 9a7441d587..396cb47ea9 100644 --- a/keyboards/lotus/keymaps/78_ansi/keymap.c +++ b/keyboards/lotus/keymaps/78_ansi/keymap.c @@ -61,16 +61,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -//// TODO: Need to define the LED matrix. -//const is31_led __flash g_is31_leds[RGB_MATRIX_LED_COUNT] = { -///* Refer to IS31 manual for these locations -// * driver -// * | R location -// * | | G location -// * | | | B location -// * | | | | */ -// {0, CS1_SW1, CS2_SW1, CS3_SW1}, -//} +// TODO: Need to define the LED matrix. +// TODO: Should have attribute __flash. But won't compile if I add it +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { +/* Refer to IS31 manual for these locations + * driver + * | R location + * | | G location + * | | | B location + * | | | | */ + {0, CS1_SW1, CS2_SW1, CS3_SW1} +}; led_config_t g_led_config = { { // Key Matrix to LED Index diff --git a/keyboards/lotus/rules.mk b/keyboards/lotus/rules.mk index e8a0e977c2..3c94e32935 100644 --- a/keyboards/lotus/rules.mk +++ b/keyboards/lotus/rules.mk @@ -8,8 +8,7 @@ SERIAL_DRIVER = vendor BACKLIGHT_ENABLE = yes BACKLIGHT_DRIVER = pwm -# TODO: Enable RGB matrix for one variant -RGB_MATRIX_ENABLE = no +RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = IS31FL3745 # Custom matrix scanning code via ADC