USB Host Library for Sprint Dongles

Fork of USBHostWANDongleSprint_bleedingedge by Donatien Garnier

Legacy Warning

This is an mbed 2 libary. To learn more about mbed OS 5, visit the docs.

Revision:
2:34c976009b70
Parent:
1:3bcca949166d
Child:
3:9ec92dd8a8cb
--- a/USB3GModule/WANDongleInitializer.cpp	Wed Sep 12 09:46:40 2012 +0000
+++ b/USB3GModule/WANDongleInitializer.cpp	Mon Sep 24 09:08:49 2012 +0000
@@ -16,7 +16,7 @@
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
 
-#define __DEBUG__ 0
+#define __DEBUG__ 4
 #ifndef __MODULE__
 #define __MODULE__ "WANDongleInitializer.cpp"
 #endif
@@ -89,7 +89,7 @@
   if( m_hasSwitched )
   {
     DBG("Interface #%d; Class:%02x; SubClass:%02x; Protocol:%02x", intf_nb, intf_class, intf_subclass, intf_protocol);
-    if( intf_class == 0x0A )
+    if( intf_class == 0xFF )
     {
       if( (m_currentSerialIntf == 0) || (m_currentSerialIntf == 1) )
       {