altos: add telebt-v0.0 Makefile
[fw/altos] / src / ao_gps_test.c
index cdcc6f4c375ce0fbb14eb454f2c2f235810ae3bb..44efb50cf97be50c53a99945de74c674a591dd50 100644 (file)
@@ -28,6 +28,7 @@
 #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)
 
 struct ao_gps_data {
        uint8_t                 year;
@@ -62,9 +63,11 @@ struct ao_gps_sat_data {
        uint8_t         c_n_1;
 };
 
+#define AO_MAX_GPS_TRACKING    12
+
 struct ao_gps_tracking_data {
        uint8_t                 channels;
-       struct ao_gps_sat_data  sats[12];
+       struct ao_gps_sat_data  sats[AO_MAX_GPS_TRACKING];
 };
 
 void