diff options
Diffstat (limited to 'drivers/led/issi/is31fl3731-simple.h')
| -rw-r--r-- | drivers/led/issi/is31fl3731-simple.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3731-simple.h b/drivers/led/issi/is31fl3731-simple.h index 9665d6ed3..ecde31eed 100644 --- a/drivers/led/issi/is31fl3731-simple.h +++ b/drivers/led/issi/is31fl3731-simple.h | |||
| @@ -20,13 +20,14 @@ | |||
| 20 | 20 | ||
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | #include <stdbool.h> | 22 | #include <stdbool.h> |
| 23 | #include "progmem.h" | ||
| 23 | 24 | ||
| 24 | typedef struct is31_led { | 25 | typedef struct is31_led { |
| 25 | uint8_t driver : 2; | 26 | uint8_t driver : 2; |
| 26 | uint8_t v; | 27 | uint8_t v; |
| 27 | } __attribute__((packed)) is31_led; | 28 | } __attribute__((packed)) is31_led; |
| 28 | 29 | ||
| 29 | extern const is31_led g_is31_leds[DRIVER_LED_TOTAL]; | 30 | extern const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL]; |
| 30 | 31 | ||
| 31 | void IS31FL3731_init(uint8_t addr); | 32 | void IS31FL3731_init(uint8_t addr); |
| 32 | void IS31FL3731_write_register(uint8_t addr, uint8_t reg, uint8_t data); | 33 | void IS31FL3731_write_register(uint8_t addr, uint8_t reg, uint8_t data); |
