Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
49:06721139d298
Parent:
46:f89fc45811a1
Child:
50:030da136eacb
diff -r f89fc45811a1 -r 06721139d298 main.cpp
--- a/main.cpp	Fri Apr 25 23:50:51 2014 +0000
+++ b/main.cpp	Sat Apr 26 04:14:18 2014 +0000
@@ -137,12 +137,12 @@
     //Main Loop
     int count = 0;
         while(1){
-            USB::getSerial().printf("Running GPS...\r\n");
+            //USB::getSerial().printf("Running GPS...\r\n");
             GPSHandle::getGPSHand().run();
-            USB::getSerial().printf("Running Compass...\r\n");
+            //USB::getSerial().printf("Running Compass...\r\n");
             compassHandle::getCompassHand().run();
-            USB::getSerial().printf("Requesting commands from egg...\r\n");
             if(count % 100 == 0){
+                USB::getSerial().printf("Requesting commands from egg...\r\n");
                 wait_us(100000);
                 CommandHandle::getCommandHand().run();
                 wait_us(100000);