summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-07-17 21:30:53 -0700
committerKeith Packard <keithp@keithp.com>2009-07-17 21:32:17 -0700
commitd6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0 (patch)
treed74bc78f33786a3cb1d3aa902af51a93e32d9418 /src/ao.h
parenta1da7e871aee75308bc05ce1b7a0dc402e4c9509 (diff)
Add AO_GPS_RUNNING state.
This tracks whether the GPS receiver has ever sent a valid report to the flight computer, allowing the user to tell whether the GPS receiver is working at all. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index 2e582577..85b7825f 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -678,6 +678,7 @@ ao_serial_init(void);
#define AO_GPS_NUM_SAT_SHIFT (0)
#define AO_GPS_VALID (1 << 4)
+#define AO_GPS_RUNNING (1 << 5)
struct ao_gps_data {
uint8_t hour;