diff options
-rw-r--r-- | usb/descriptor.h | 2 |
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, |