forked from mirrors/qmk_userspace
__flash? (#13799)
This commit is contained in:
parent
206a995ccd
commit
70fb3e1aaf
76 changed files with 95 additions and 92 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue