USB device stack, fixes for USBSerial, lightweight without malloc (RTOS ready)
Fork of USBDevice by
Revision 26:419386cf801c, committed 2014-07-30
- Comitter:
- alpov
- Date:
- Wed Jul 30 19:01:27 2014 +0000
- Parent:
- 25:f0299e22d4c0
- Commit message:
- fixed USB3 support according to https://mbed.org/questions/2599/Is-USBSerial-giving-problems-on-new-Hasw/#answer4609
Changed in this revision
USBDevice/USBDevice.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBDevice/USBDevice.cpp Tue May 06 20:34:33 2014 +0000 +++ b/USBDevice/USBDevice.cpp Wed Jul 30 19:01:27 2014 +0000 @@ -187,6 +187,8 @@ /* Check we should be transferring data OUT */ if (transfer.direction != HOST_TO_DEVICE) { + controlIn(); + if (transfer.direction != HOST_TO_DEVICE) return false; }