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:
- 44:2ae602b89961
- Parent:
- 43:b8cbe6f0ec47
- Child:
- 49:06721139d298
diff -r b8cbe6f0ec47 -r 2ae602b89961 handle/handleGPS.cpp --- a/handle/handleGPS.cpp Wed Apr 23 04:20:40 2014 +0000 +++ b/handle/handleGPS.cpp Wed Apr 23 04:45:36 2014 +0000 @@ -23,7 +23,7 @@ if(rx_status != 1){ return rx_status; } - DH::Locs().inc(LHType_targ,0,true); + DH::Locs().getI(LHType_targ,LHIType_size) = 0;//reset size to 0 (clear out old waypoints Point* points = (Point*)pack.data; unsigned int num_points = pack.size; for(int i=0;i<num_points;i++){