1
0
Fork 0

Remove use of __flash due to LTO issues (#15268)

This commit is contained in:
Joel Challis 2021-11-24 07:38:49 +00:00 committed by GitHub
parent 80f91f7b9a
commit 282e916d86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 131 additions and 117 deletions

View file

@ -27,7 +27,7 @@ typedef struct ckled2001_led {
uint8_t b;
} __attribute__((packed)) ckled2001_led;
extern const ckled2001_led __flash g_ckled2001_leds[DRIVER_LED_TOTAL];
extern const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL];
void CKLED2001_init(uint8_t addr);
bool CKLED2001_write_register(uint8_t addr, uint8_t reg, uint8_t data);