I added the Isochronous to USBHost library. The Isochronous code based on the following. http://developer.mbed.org/users/va009039/code/USBHostC270_example/
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost_AddIso by
Revision 20:8f510a2502ef, committed 2013-12-16
- Comitter:
- mbed_official
- Date:
- Mon Dec 16 09:15:21 2013 +0000
- Parent:
- 19:bd46ea19486b
- Child:
- 21:bb3a8a54f5cd
- Commit message:
- Synchronized with git revision 5dea203d16a93915c80553c1d95b26625bc077f8
Full URL: https://github.com/mbedmicro/mbed/commit/5dea203d16a93915c80553c1d95b26625bc077f8/
Changed in this revision
USBHostSerial/USBHostSerial.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHostSerial/USBHostSerial.cpp Mon Dec 16 09:00:18 2013 +0000 +++ b/USBHostSerial/USBHostSerial.cpp Mon Dec 16 09:15:21 2013 +0000 @@ -84,7 +84,7 @@ /*virtual*/ bool USBHostSerial::parseInterface(uint8_t intf_nb, uint8_t intf_class, uint8_t intf_subclass, uint8_t intf_protocol) //Must return true if the interface should be parsed { - if ((ports_found < USBHOST_MAXSERIAL) && + if (!ports_found && CHECK_INTERFACE(intf_class, intf_subclass, intf_protocol)) { port_intf = intf_nb; ports_found = true;