summaryrefslogtreecommitdiff
path: root/firmware/export/usb_ch9.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb_ch9.h')
-rw-r--r--firmware/export/usb_ch9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/usb_ch9.h b/firmware/export/usb_ch9.h
index 1bfc152a8a..d5885ac9b8 100644
--- a/firmware/export/usb_ch9.h
+++ b/firmware/export/usb_ch9.h
@@ -245,7 +245,7 @@ struct usb_string_descriptor {
uint8_t bDescriptorType;
uint16_t wString[]; /* UTF-16LE encoded */
-} __attribute__ ((packed));
+} __attribute__ ((packed,aligned(2)));
/* note that "string" zero is special, it holds language codes that
* the device supports, not Unicode characters.