This commit is contained in:
Joel Challis 2021-07-31 14:35:30 +01:00 committed by GitHub
parent 206a995ccd
commit 70fb3e1aaf
Failed to generate hash of commit
76 changed files with 95 additions and 92 deletions

View file

@ -20,13 +20,14 @@
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
typedef struct is31_led {
uint8_t driver : 2;
uint8_t v;
} __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);