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 USBHostWANDongle by
Diff: USBHost/USBHost.cpp
- Revision:
- 17:b8739fd10faf
- Parent:
- 13:c154e7f2e42f
- Child:
- 27:980fe31c14f7
--- a/USBHost/USBHost.cpp Sun Feb 10 16:23:31 2013 +0000 +++ b/USBHost/USBHost.cpp Thu Feb 21 09:28:14 2013 +0000 @@ -285,6 +285,7 @@ USBDeviceConnected * USBHost::getDevice(uint8_t index) { if ((index >= MAX_DEVICE_NB) || (!deviceInUse[index])) { + DBG("getDevice failed. Index is: %d, and deviceInUse[%d] is %s", index, index, deviceInUse[index]); return NULL; } return (USBDeviceConnected*)&devices[index];