Remove use of __flash due to LTO issues (#15268)
This commit is contained in:
parent
80f91f7b9a
commit
282e916d86
99 changed files with 131 additions and 117 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "dz60rgb.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, K_14, J_14, L_14 },
|
||||
{ 0, K_13, J_13, L_13 },
|
||||
{ 0, K_12, J_12, L_12 },
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "dz60rgb_ansi.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, K_14, J_14, L_14 },
|
||||
{ 0, K_13, J_13, L_13 },
|
||||
{ 0, K_12, J_12, L_12 },
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "dz60rgb_wkl.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, H_15, G_15, I_15 },
|
||||
{ 0, K_14, J_14, L_14 },
|
||||
{ 0, K_13, J_13, L_13 },
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "v1.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, C8_8, C7_8, C6_8 },
|
||||
{ 0, C9_8, C7_7, C6_7 },
|
||||
{ 0, C9_7, C8_7, C6_6 },
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "v2.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, C8_8, C7_8, C6_8 },
|
||||
{ 0, C9_8, C7_7, C6_7 },
|
||||
{ 0, C9_7, C8_7, C6_6 },
|
||||
|
|
|
@ -18,7 +18,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, CS21_SW1, CS20_SW1, CS19_SW1},
|
||||
{0, CS21_SW2, CS20_SW2, CS19_SW2},
|
||||
{0, CS21_SW3, CS20_SW3, CS19_SW3},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue