Skip to content
Snippets Groups Projects
Commit 07263f8b authored by Cristian Maglie's avatar Cristian Maglie
Browse files

USB-CDC: reset EP OUT count upon reception

parent 19ae0eb4
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,7 @@ void USBDeviceClass::epOut(uint32_t ep)
usbd.epBank0AckTransferComplete(ep);
//usbd.epBank0AckTransferFailed(ep);
usbd.epBank0EnableTransferComplete(ep);
usbd.epBank0SetByteCount(ep, 0);
usbd.epBank0ResetReady(ep);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment