diff options
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 c55d9605f..97ac6dc5b 100644 --- a/drivers/led/aw20216.h +++ b/drivers/led/aw20216.h | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | #include <stdint.h> | 19 | #include <stdint.h> |
| 20 | #include <stdbool.h> | 20 | #include <stdbool.h> |
| 21 | #include "progmem.h" | ||
| 21 | #include "gpio.h" | 22 | #include "gpio.h" |
| 22 | 23 | ||
| 23 | typedef struct aw_led { | 24 | typedef struct aw_led { |
| @@ -27,7 +28,7 @@ typedef struct aw_led { | |||
| 27 | uint8_t b; | 28 | uint8_t b; |
| 28 | } aw_led; | 29 | } aw_led; |
| 29 | 30 | ||
| 30 | extern const aw_led g_aw_leds[DRIVER_LED_TOTAL]; | 31 | extern const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL]; |
| 31 | 32 | ||
| 32 | void AW20216_init(pin_t cs_pin, pin_t en_pin); | 33 | void AW20216_init(pin_t cs_pin, pin_t en_pin); |
| 33 | void AW20216_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); | 34 | void AW20216_set_color(int index, uint8_t red, uint8_t green, uint8_t blue); |
