altos: Add nickle kalman implementation.
[fw/altos] / src / ao.h
index 0ba98dbda4fe2ea9c2684fea7e3e3c5f4220c92d..527390b05bc90e87b95d4a128476f29f914c789c 100644 (file)
--- a/src/ao.h
+++ b/src/ao.h
@@ -841,6 +841,7 @@ ao_spi_init(void);
 #define AO_GPS_VALID           (1 << 4)
 #define AO_GPS_RUNNING         (1 << 5)
 #define AO_GPS_DATE_VALID      (1 << 6)
+#define AO_GPS_COURSE_VALID    (1 << 7)
 
 extern __xdata uint16_t ao_gps_tick;
 
@@ -905,8 +906,7 @@ ao_gps_report_init(void);
  * ao_telemetry.c
  */
 
-#define AO_MAX_CALLSIGN                8
-#define AO_TELEMETRY_VERSION   3
+#define AO_MAX_CALLSIGN                        8
 
 struct ao_telemetry {
        uint16_t                serial;
@@ -1020,6 +1020,10 @@ extern const char const * const ao_state_names[];
 void
 ao_monitor(void);
 
+#define AO_MONITORING_OFF      0
+#define AO_MONITORING_FULL     1
+#define AO_MONITORING_TINY     2
+
 void
 ao_set_monitor(uint8_t monitoring);