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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ao.h') 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; -- cgit v1.2.3