diff options
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index caada6c798..8a602894d0 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c @@ -651,7 +651,7 @@ static void usb_core_control_request_handler(struct usb_ctrlrequest* req) logf("STRING %d",index); if ((unsigned)index < (sizeof(usb_strings)/sizeof(struct usb_string_descriptor*))) { size = usb_strings[index]->bLength; - memcpy(&response_data[0],&usb_strings[index],size); + memcpy(&response_data[0],usb_strings[index],size); ptr = response_data; } else { |