Skip to content

Commit 26ba1b0

Browse files
cmagliefacchinm
authored andcommitted
USBDevice: removed useless resetReady
1 parent a8d208a commit 26ba1b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cores/arduino/USB/USBCore.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,6 @@ void USBDeviceClass::initEP(uint32_t ep, uint32_t config)
407407
{
408408
usbd.epBank1SetSize(ep, 64);
409409
usbd.epBank1SetAddress(ep, &udd_ep_in_cache_buffer[ep]);
410-
411-
// NAK on endpoint IN, the bank is not yet filled in.
412-
usbd.epBank1ResetReady(ep);
413-
414410
usbd.epBank1SetType(ep, 3); // BULK IN
415411

416412
// XXX: this somehow interfere with CDC rx - WHY???

0 commit comments

Comments
 (0)