hidpp10: mark the message struct as __attribute__((packed))

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-08-24 16:13:55 +10:00
parent 8aefa83b81
commit 50d97bb33e

View File

@@ -54,7 +54,7 @@ struct _hidpp10_message {
uint8_t parameters[3];
uint8_t string[16];
};
};
} __attribute__((packed));
union hidpp10_message {
struct _hidpp10_message msg;