From d3c37a683674976fc062aef8314ce39c744b14f7 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Sat, 29 Jan 2022 21:19:21 +0300 Subject: [PATCH] sinowealth: fix two struct fields having swapped places --- src/driver-sinowealth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver-sinowealth.c b/src/driver-sinowealth.c index aeb83481..0f4e4f83 100644 --- a/src/driver-sinowealth.c +++ b/src/driver-sinowealth.c @@ -188,12 +188,12 @@ struct sinowealth_config_report { struct sinowealth_rgb_mode wave_mode; struct sinowealth_rgb_mode breathing1_mode; struct sinowealth_color breathing1_color; - uint8_t unknown4; /* 0x1 - 2 mm. * 0x2 - 3 mm. * 0xff - indicates that lift off distance is changed with a dedicated command. Not constant, so do **NOT** overwrite it. */ uint8_t lift_off_distance; + uint8_t unknown4; /* From here onward goes the data only available in long mice. */