diff options
Diffstat (limited to 'src/usbh_hubbed.c')
-rw-r--r-- | src/usbh_hubbed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usbh_hubbed.c b/src/usbh_hubbed.c index 833e5a3..7391232 100644 --- a/src/usbh_hubbed.c +++ b/src/usbh_hubbed.c @@ -370,6 +370,7 @@ static void device_enumerate(usbh_device_t *dev, usbh_packet_callback_data_t cb_ { struct usb_device_descriptor *ddt = (struct usb_device_descriptor *)&usbh_buffer[0]; + dev->packet_size_max0 = ddt->bMaxPacketSize0; struct usb_setup_data setup_data; setup_data.bmRequestType = 0b10000000; |