1
0
Fork 0

LED drivers: use PACKED define from util.h (#22380)

This commit is contained in:
Ryan 2023-11-02 14:31:09 +11:00 committed by GitHub
parent 8ea955c72f
commit 5d58534a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 41 additions and 25 deletions

View file

@ -21,6 +21,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
#include "util.h"
// ======== DEPRECATED DEFINES - DO NOT USE ========
#ifdef LED_DRIVER_ADDR_1
@ -64,7 +65,7 @@
typedef struct is31fl3731_led_t {
uint8_t driver : 2;
uint8_t v;
} __attribute__((packed)) is31fl3731_led_t;
} PACKED is31fl3731_led_t;
extern const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT];