summaryrefslogtreecommitdiff
path: root/drivers/led/ckled2001.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-24 07:38:49 +0000
committerGitHub <noreply@github.com>2021-11-24 18:38:49 +1100
commit282e916d86a5d353b7cbdfef3afad3c7b011eb14 (patch)
treed711831ca1accadede43c38bc1bcd91d73ad3dc9 /drivers/led/ckled2001.h
parent80f91f7b9aa8987d4594a466d2348830b1c32dc2 (diff)
Remove use of __flash due to LTO issues (#15268)
Diffstat (limited to 'drivers/led/ckled2001.h')
-rw-r--r--drivers/led/ckled2001.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/ckled2001.h b/drivers/led/ckled2001.h
index efe399690a..1967961d20 100644
--- a/drivers/led/ckled2001.h
+++ b/drivers/led/ckled2001.h
@@ -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);