summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-17 13:05:15 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-17 13:05:15 +0000
commit70224dc9447d51528313dfeba323c25b6deda4ec (patch)
tree1a71d7b5204c03f1f50f1c14d8aaf5eabe96bf01 /gps.h
parent441f58209b14a3d5f9ae91cb8a11f2d6fcca8664 (diff)
downloadgpsd-70224dc9447d51528313dfeba323c25b6deda4ec.tar.gz
Clear the fix flag when nuking a fix.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 85d9fe02..88489734 100644
--- a/gps.h
+++ b/gps.h
@@ -94,6 +94,7 @@ struct gps_data_t {
#define DEVICEID_SET 0x01000000u
#define ERROR_SET 0x02000000u
#define CYCLE_START_SET 0x04000000u
+#define FIX_SET (TIME_SET|MODE_SET|TIMERR_SET|LATLON_SET|HERR_SET|ALTITUDE_SET|VERR_SET|TRACK_SET|TRACKERR_SET|SPEED_SET|SPEEDERR_SET|CLIMB_SET|CLIMBERR_SET)
double online; /* NZ if GPS is on line, 0 if not.
*
* Note: gpsd clears this flag when sentences