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
|
@ -17,7 +17,7 @@
|
|||
#include "adelais.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, C2_1, C3_1, C4_1}, //D102-A0-0
|
||||
{0, C5_1, C6_1, C7_1}, //D108-A1-1
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "rev3.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, 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 */
|
||||
|
|
|
@ -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] = {
|
||||
// left CA
|
||||
{0, C5_2, C6_2, C7_2}, //D2-0
|
||||
{0, C1_1, C3_2, C4_2}, //D20-1
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "rev2.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] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | R location
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "rgb_rev1.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, CS34_SW1, CS35_SW1, CS36_SW1}, //D92-K00-0
|
||||
{0, CS37_SW1, CS38_SW1, CS39_SW1}, //D94-K01-1
|
||||
{0, CS31_SW1, CS32_SW1, CS33_SW1}, //D96-K02-2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue