Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
30:327191ff57e8
Parent:
20:81d5655fecc2
Child:
31:6f68fa0aeee5
diff -r 4e608589d787 -r 327191ff57e8 handle/handleGPS.cpp
--- a/handle/handleGPS.cpp	Tue Apr 22 14:57:39 2014 +0000
+++ b/handle/handleGPS.cpp	Tue Apr 22 15:39:27 2014 +0000
@@ -38,7 +38,7 @@
     unsigned int sID=getPS().getSuperID();
     getPS().sendPacket(0,NULL,0,PT_EMPTY);
     getPS().sendPacket(sID,NULL,0,PT_SENDLOC);
-    getPS().sendPacket(sID,(char*)(&DH::Locs().getC().getLoc()),sizeof(DataLocation));
+    getPS().sendPacket(sID,(char*)(&DH::locs().getC(LHType_locs,DH::locs().getI(LHType_locs))),sizeof(DataLocation));
     getPS().sendPacket(sID,NULL,0,PT_END);
     wait_us(100000);
     getPS().closeConnection();
@@ -47,6 +47,9 @@
 
 bool GPSHandle::if_image_location(){
     USB::getSerial().printf("Checking if at waypoint\r\n");
+    //DH::locs().getC(LHType_locs,DH::locs().getI(LHType_locs)){
+        
+    //}
     return true;
 }