diff options
-rw-r--r-- | firmware/usbstack/usb_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index 1796bd41fc..c496e5142b 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c | |||
@@ -347,12 +347,12 @@ int usb_storage_get_config_descriptor(unsigned char *dest,int max_packet_size) | |||
347 | sizeof(struct usb_interface_descriptor)); | 347 | sizeof(struct usb_interface_descriptor)); |
348 | dest+=sizeof(struct usb_interface_descriptor); | 348 | dest+=sizeof(struct usb_interface_descriptor); |
349 | 349 | ||
350 | endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_IN, | 350 | endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_IN; |
351 | memcpy(dest,&endpoint_descriptor, | 351 | memcpy(dest,&endpoint_descriptor, |
352 | sizeof(struct usb_endpoint_descriptor)); | 352 | sizeof(struct usb_endpoint_descriptor)); |
353 | dest+=sizeof(struct usb_endpoint_descriptor); | 353 | dest+=sizeof(struct usb_endpoint_descriptor); |
354 | 354 | ||
355 | endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_OUT, | 355 | endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_OUT; |
356 | memcpy(dest,&endpoint_descriptor, | 356 | memcpy(dest,&endpoint_descriptor, |
357 | sizeof(struct usb_endpoint_descriptor)); | 357 | sizeof(struct usb_endpoint_descriptor)); |
358 | 358 | ||