1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 23:40:58 +00:00
This commit is contained in:
Pavol Rusnak 2018-01-20 22:02:13 +01:00
parent 311af09236
commit 51db0c4099
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -365,7 +365,7 @@ static int usb_vcp_class_setup(USBD_HandleTypeDef *dev, usb_vcp_state_t *state,
default: default:
USBD_CtlSendData(dev, cmd_buffer, MIN(req->wLength, sizeof(cmd_buffer))); USBD_CtlSendData(dev, cmd_buffer, MIN(req->wLength, sizeof(cmd_buffer)));
break; break;
} }
break; break;
case USB_H2D: case USB_H2D:
if (req->wLength > 0) { if (req->wLength > 0) {