Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;
}
