diff options
author | Joel Challis <git@zvecr.com> | 2021-07-31 14:35:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 14:35:30 +0100 |
commit | 70fb3e1aaf406cbbd5137916a93ed814d6891ef2 (patch) | |
tree | 822d9ec1df59c75f07f886fdf3f77002e8b2c926 /drivers/led/issi/is31fl3737.h | |
parent | 206a995ccd53b0843e72da606abebe06f39c9c28 (diff) |
__flash? (#13799)
Diffstat (limited to 'drivers/led/issi/is31fl3737.h')
-rw-r--r-- | drivers/led/issi/is31fl3737.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3737.h b/drivers/led/issi/is31fl3737.h index a1d2281778..06886e9c9b 100644 --- a/drivers/led/issi/is31fl3737.h +++ b/drivers/led/issi/is31fl3737.h @@ -20,6 +20,7 @@ #include <stdint.h> #include <stdbool.h> +#include "progmem.h" typedef struct is31_led { uint8_t driver : 2; @@ -28,7 +29,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 IS31FL3737_init(uint8_t addr); void IS31FL3737_write_register(uint8_t addr, uint8_t reg, uint8_t data); |