altos: Use 0x80 to indicate valid state value in the GPS location packet
[fw/altos] / src / kernel / ao_telemetry.h
index 1aeda264389498e0702b8ff37850457379330e28..050bbf726a09c7d338ae2e31306336c26b760204 100644 (file)
@@ -93,6 +93,8 @@ struct ao_telemetry_configuration {
 #define AO_GPS_MODE_MANUAL             'M'
 #define AO_GPS_MODE_SIMULATED          'S'
 
+#define AO_GPS_STATE_VALID             0x80
+
 struct ao_telemetry_location {
        uint16_t        serial;         /*  0 */
        uint16_t        tick;           /*  2 */