test
Dependents: Production_version1_0 Production_ver1_0 USBHost_TEST USBHost_Test5 ... more
Fork of USBHost by
Diff: USBHost/USBDeviceConnected.cpp
- Revision:
- 24:868cbfe611a7
- Parent:
- 8:93da8ea2708b
- Child:
- 37:f1e388e7b752
--- a/USBHost/USBDeviceConnected.cpp Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHost/USBDeviceConnected.cpp Tue Jun 03 11:30:38 2014 +0100 @@ -50,10 +50,10 @@ INTERFACE * USBDeviceConnected::getInterface(uint8_t index) { if (index >= MAX_INTF) return NULL; - + if (intf[index].in_use) return &intf[index]; - + return NULL; }