Changes to support Vodafone K4606
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Diff: VodafoneUSBModem.cpp
- Revision:
- 87:62af9b9d3e13
- Parent:
- 84:39e28d162195
- Child:
- 88:51dc1f37cc9a
--- a/VodafoneUSBModem.cpp Fri Mar 08 13:44:03 2013 +0000 +++ b/VodafoneUSBModem.cpp Thu Mar 21 14:03:57 2013 +0000 @@ -18,7 +18,7 @@ */ -#define __DEBUG__ 0 +#define __DEBUG__ 4 #ifndef __MODULE__ #define __MODULE__ "VodafoneUSBModem.cpp" @@ -507,7 +507,7 @@ int VodafoneUSBModem::init() { - DBG("Entering init method for the VodafoneUSBModme"); + DBG("Entering init method for the VodafoneUSBModem"); if( !m_dongleConnected ) { DBG("Dongle is not connected"); @@ -532,7 +532,7 @@ detectConnectedModem = true; // OK we can break out this while loop now - the dongle has been connected break; // Break out of the for loop once the dongle is connected - otherwise try for a while more } - Thread::wait(10); + Thread::wait(1000); } if (!detectConnectedModem) {