From fa95abbc3326345fd02b2d0596ff2c556c4a0be4 Mon Sep 17 00:00:00 2001 From: staticssleever668 <64694940+staticssleever668@users.noreply.github.com> Date: Sat, 8 May 2021 21:31:06 +0300 Subject: [PATCH] hidpp20: give some structures names Fixes SWIG's 503 warnings. --- src/hidpp20.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hidpp20.h b/src/hidpp20.h index 69118dc7..8ae9f888 100644 --- a/src/hidpp20.h +++ b/src/hidpp20.h @@ -210,21 +210,21 @@ struct hidpp20_led_sw_ctrl_led_state { uint8_t index; uint16_t mode; union { - struct { + struct hidpp20_led_breathing { uint16_t brightness; uint16_t period; uint16_t timeout; } breathing; - struct { + struct hidpp20_led_traveling { uint16_t unused; uint16_t delay; } traveling; - struct { + struct hidpp20_led_blink { uint16_t index; uint16_t on_time; uint16_t off_time; } blink; - struct { + struct hidpp20_led_on { /* Logical information to display on the LED * Meaning and value range depend on the LED */