mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
hidpp10: mark the message struct as __attribute__((packed))
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -54,7 +54,7 @@ struct _hidpp10_message {
|
||||
uint8_t parameters[3];
|
||||
uint8_t string[16];
|
||||
};
|
||||
};
|
||||
} __attribute__((packed));
|
||||
|
||||
union hidpp10_message {
|
||||
struct _hidpp10_message msg;
|
||||
|
||||
Reference in New Issue
Block a user