summaryrefslogtreecommitdiffstats
path: root/drivers/led/issi/is31fl3736.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-07-31 14:35:30 +0100
committerGitHub <noreply@github.com>2021-07-31 14:35:30 +0100
commit70fb3e1aaf406cbbd5137916a93ed814d6891ef2 (patch)
tree822d9ec1df59c75f07f886fdf3f77002e8b2c926 /drivers/led/issi/is31fl3736.h
parent206a995ccd53b0843e72da606abebe06f39c9c28 (diff)
__flash? (#13799)
Diffstat (limited to 'drivers/led/issi/is31fl3736.h')
-rw-r--r--drivers/led/issi/is31fl3736.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3736.h b/drivers/led/issi/is31fl3736.h
index e48e31c279..c956c87f7c 100644
--- a/drivers/led/issi/is31fl3736.h
+++ b/drivers/led/issi/is31fl3736.h
@@ -18,6 +18,7 @@
#include <stdint.h>
#include <stdbool.h>
+#include "progmem.h"
// Simple interface option.
// If these aren't defined, just define them to make it compile
@@ -37,7 +38,7 @@ typedef struct is31_led {
uint8_t b;
} __attribute__((packed)) is31_led;
-extern const is31_led g_is31_leds[DRIVER_LED_TOTAL];
+extern const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL];
void IS31FL3736_init(uint8_t addr);
void IS31FL3736_write_register(uint8_t addr, uint8_t reg, uint8_t data);