Colin Stearns
/
qcControl
QC Control software
Fork of dgps by
Diff: handle/handleGPS.cpp
- Revision:
- 44:2ae602b89961
- Parent:
- 43:b8cbe6f0ec47
- Child:
- 49:06721139d298
--- 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++){