summaryrefslogtreecommitdiff
path: root/drivers/led/issi/is31fl3731.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-11-02 14:31:09 +1100
committerGitHub <noreply@github.com>2023-11-02 14:31:09 +1100
commit5d58534a8c1ad3cf17d2b40797de603d6e83de6d (patch)
treec4833ddb9fbc82bf980dd64e21f03595ff44cbc3 /drivers/led/issi/is31fl3731.h
parent8ea955c72ff9c2888a08c9b6b2f5dda8b49eb856 (diff)
LED drivers: use `PACKED` define from util.h (#22380)
Diffstat (limited to 'drivers/led/issi/is31fl3731.h')
-rw-r--r--drivers/led/issi/is31fl3731.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/led/issi/is31fl3731.h b/drivers/led/issi/is31fl3731.h
index 73fa018897..77162ded30 100644
--- a/drivers/led/issi/is31fl3731.h
+++ b/drivers/led/issi/is31fl3731.h
@@ -20,6 +20,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
+#include "util.h"
// ======== DEPRECATED DEFINES - DO NOT USE ========
#ifdef DRIVER_ADDR_1
@@ -65,7 +66,7 @@ typedef struct is31fl3731_led_t {
uint8_t r;
uint8_t g;
uint8_t b;
-} __attribute__((packed)) is31fl3731_led_t;
+} PACKED is31fl3731_led_t;
extern const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT];