aboutsummaryrefslogtreecommitdiff
path: root/drivers/led/aw20216s.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/led/aw20216s.c')
-rw-r--r--drivers/led/aw20216s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/aw20216s.c b/drivers/led/aw20216s.c
index 1b7861a1ec..078a694d30 100644
--- a/drivers/led/aw20216s.c
+++ b/drivers/led/aw20216s.c
@@ -142,7 +142,7 @@ void aw20216s_init(pin_t cs_pin, pin_t en_pin) {
}
void aw20216s_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
- aw20216s_led led;
+ aw20216s_led_t led;
memcpy_P(&led, (&g_aw20216s_leds[index]), sizeof(led));
if (g_pwm_buffer[led.driver][led.r] == red && g_pwm_buffer[led.driver][led.g] == green && g_pwm_buffer[led.driver][led.b] == blue) {