USB Host WAN Dongle library

Fork of USBHostWANDongle_bleedingedge by Donatien Garnier

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];