mirror of https://github.com/ARMmbed/mbed-os.git
Fix usb serial RX bug
USBCDC::readEP already already called readStart, so we should not call it here. Signed-off-by: Paul Brook <paul@nowt.org>pull/511/head
parent
ebcc13f1a1
commit
5518e335bb
|
@ -59,8 +59,6 @@ bool USBSerial::EP2_OUT_callback() {
|
||||||
//call a potential handler
|
//call a potential handler
|
||||||
rx.call();
|
rx.call();
|
||||||
|
|
||||||
// We reactivate the endpoint to receive next characters
|
|
||||||
readStart(EPBULK_OUT, MAX_PACKET_SIZE_EPBULK);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue