diff options
author | Joel Challis <[email protected]> | 2021-07-31 14:35:30 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 14:35:30 +0100 |
commit | 70fb3e1aaf406cbbd5137916a93ed814d6891ef2 (patch) | |
tree | 822d9ec1df59c75f07f886fdf3f77002e8b2c926 /drivers/led/aw20216.h | |
parent | 206a995ccd53b0843e72da606abebe06f39c9c28 (diff) | |
download | qmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.tar.gz qmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.zip |
__flash? (#13799)
Diffstat (limited to 'drivers/led/aw20216.h')
-rw-r--r-- | drivers/led/aw20216.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/aw20216.h b/drivers/led/aw20216.h index c55d9605fc..97ac6dc5bf 100644 --- a/drivers/led/aw20216.h +++ b/drivers/led/aw20216.h @@ -18,6 +18,7 @@ #include <stdint.h> #include <stdbool.h> +#include "progmem.h" #include "gpio.h" typedef struct aw_led { @@ -27,7 +28,7 @@ typedef struct aw_led { uint8_t b; } aw_led; -extern const aw_led g_aw_leds[DRIVER_LED_TOTAL]; +extern const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL]; void AW20216_init(pin_t cs_pin, pin_t en_pin); void AW20216_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); |