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
Paul Brook 2014-09-25 14:49:26 +01:00
parent ebcc13f1a1
commit 5518e335bb
1 changed files with 0 additions and 2 deletions

View File

@ -59,8 +59,6 @@ bool USBSerial::EP2_OUT_callback() {
//call a potential handler
rx.call();
// We reactivate the endpoint to receive next characters
readStart(EPBULK_OUT, MAX_PACKET_SIZE_EPBULK);
return true;
}