From d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 17 Jul 2009 21:30:53 -0700 Subject: 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 --- src/ao_gps_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ao_gps_test.c') 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; -- cgit v1.2.3