diff options
author | Keith Packard <keithp@keithp.com> | 2009-07-17 21:30:53 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-07-17 21:32:17 -0700 |
commit | d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0 (patch) | |
tree | d74bc78f33786a3cb1d3aa902af51a93e32d9418 /src/ao_gps_test.c | |
parent | a1da7e871aee75308bc05ce1b7a0dc402e4c9509 (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_gps_test.c')
-rw-r--r-- | src/ao_gps_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_gps_test.c b/src/ao_gps_test.c index 0ed51d16..fb9b0d10 100644 --- a/src/ao_gps_test.c +++ b/src/ao_gps_test.c @@ -26,6 +26,7 @@ #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; |