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/is31fl3731.h | |
parent | 206a995ccd53b0843e72da606abebe06f39c9c28 (diff) |
__flash? (#13799)
Diffstat (limited to 'drivers/led/issi/is31fl3731.h')
-rw-r--r-- | drivers/led/issi/is31fl3731.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3731.h b/drivers/led/issi/is31fl3731.h index 19e8e6251f..803ea3ea12 100644 --- a/drivers/led/issi/is31fl3731.h +++ b/drivers/led/issi/is31fl3731.h @@ -19,6 +19,7 @@ #include <stdint.h> #include <stdbool.h> +#include "progmem.h" typedef struct is31_led { uint8_t driver : 2; @@ -27,7 +28,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 IS31FL3731_init(uint8_t addr); void IS31FL3731_write_register(uint8_t addr, uint8_t reg, uint8_t data); |