Remove use of __flash due to LTO issues (#15268)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "mj61.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
{0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB1 */
|
||||
{0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB2 */
|
||||
{0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB3 */
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
|
||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
|
||||
{0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */
|
||||
{0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */
|
||||
{0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */
|
||||
|
Reference in New Issue
Block a user