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
|
@ -28,7 +28,7 @@ typedef struct aw_led {
|
|||
uint8_t b;
|
||||
} aw_led;
|
||||
|
||||
extern const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL];
|
||||
extern const aw_led PROGMEM g_aw_leds[DRIVER_LED_TOTAL];
|
||||
|
||||
void AW20216_init(pin_t cs_pin, pin_t en_pin);
|
||||
void AW20216_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue