summaryrefslogtreecommitdiff
path: root/usb
diff options
context:
space:
mode:
Diffstat (limited to 'usb')
-rw-r--r--usb/descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb/descriptor.h b/usb/descriptor.h
index f889436..f5f105c 100644
--- a/usb/descriptor.h
+++ b/usb/descriptor.h
@@ -34,7 +34,7 @@ struct Device_desc {
uint8_t iProduct;
uint8_t iSerialNumber;
uint8_t bNumConfigurations;
-};
+} __attribute__((packed));
constexpr Device_desc device_desc(
uint16_t bcdUSB,