forked from stm/stm32-mw-usb-device
fix error
This commit is contained in:
@@ -221,7 +221,7 @@ static int8_t TEMPLATE_Receive(uint8_t *Buf, uint32_t *Len)
|
||||
UNUSED(Buf);
|
||||
UNUSED(Len);
|
||||
|
||||
TEMPLATE_ReceiveUserspace(*Buf, *Len);
|
||||
TEMPLATE_ReceiveUserspace(Buf, Len);
|
||||
|
||||
USBD_CDC_ReceivePacket(&hUsbDeviceFS);
|
||||
return (USBD_OK);
|
||||
|
||||
Reference in New Issue
Block a user