Board support library for C027 - updated with thread-safe wait()

Fork of C027 by u-blox

Revision:
15:37252d7bcd9e
Parent:
14:e30f90b5447e
Child:
16:286a756a8d3f
--- a/C027.cpp	Fri Dec 06 09:27:49 2013 +0000
+++ b/C027.cpp	Tue Dec 17 16:25:47 2013 +0000
@@ -47,6 +47,10 @@
     mdmRst    = 0;  // RESET:  0=reset, 1=operating
     mdmIsEnabled = false;
     mdmUseUsb = false;
+    wait_ms(50); // when USB cable is inserted the interface chip issues 
+    // multiple resets to the target CPU We wait here for a short period to 
+    // prevent those resets from propagating to the modem and other 
+    // components. 
 }
 
 void C027::mdmPower(bool enable)