diff options
Diffstat (limited to 'drivers/led/issi/is31fl3741.h')
| -rw-r--r-- | drivers/led/issi/is31fl3741.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3741.h b/drivers/led/issi/is31fl3741.h index 2df0c5b1a..cea6761ca 100644 --- a/drivers/led/issi/is31fl3741.h +++ b/drivers/led/issi/is31fl3741.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | #include <stdint.h> | 22 | #include <stdint.h> |
| 23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
| 24 | #include "progmem.h" | ||
| 24 | 25 | ||
| 25 | typedef struct is31_led { | 26 | typedef struct is31_led { |
| 26 | uint32_t driver : 2; | 27 | uint32_t driver : 2; |
| @@ -29,7 +30,7 @@ typedef struct is31_led { | |||
| 29 | uint32_t b : 10; | 30 | uint32_t b : 10; |
| 30 | } __attribute__((packed)) is31_led; | 31 | } __attribute__((packed)) is31_led; |
| 31 | 32 | ||
| 32 | extern const is31_led g_is31_leds[DRIVER_LED_TOTAL]; | 33 | extern const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL]; |
| 33 | 34 | ||
| 34 | void IS31FL3741_init(uint8_t addr); | 35 | void IS31FL3741_init(uint8_t addr); |
| 35 | void IS31FL3741_write_register(uint8_t addr, uint8_t reg, uint8_t data); | 36 | void IS31FL3741_write_register(uint8_t addr, uint8_t reg, uint8_t data); |
