Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of dgps by
Diff: handle/handleGPS.cpp
- 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; }