Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
32:9cb7bc3fc9e0
Parent:
20:81d5655fecc2
Child:
36:53b69e471b5a
diff -r 6f68fa0aeee5 -r 9cb7bc3fc9e0 packet.h
--- a/packet.h	Tue Apr 22 15:40:23 2014 +0000
+++ b/packet.h	Wed Apr 23 01:43:17 2014 +0000
@@ -74,10 +74,10 @@
             if(getTCPConStatus){
                 setTCPConStatus = 0;
                 while(getTCPConStatus){}
-                wait_us(50000);
+                wait_us(100000);
             }
             setTCPConStatus = 1;
-            while(setTCPConStatus==1 && !getTCPConStatus){}          
+            wait_us(100000);
         }while(!getTCPConStatus);
     }