altos: Add config values for tracker start motion limits
[fw/altos] / src / kernel / ao.h
index 29ad26031d9733cfe7409b31127c06c53698ec41..0ffc647a357625c03035648bd8f02a3b97ade60c 100644 (file)
@@ -393,6 +393,9 @@ struct ao_gps_tracking_orig {
        struct ao_gps_sat_orig  sats[AO_MAX_GPS_TRACKING];
 };
 
+void
+ao_gps_set_rate(uint8_t rate);
+
 void
 ao_gps(void);
 
@@ -750,7 +753,7 @@ extern __xdata uint8_t ao_force_freq;
 #endif
 
 #define AO_CONFIG_MAJOR        1
-#define AO_CONFIG_MINOR        15
+#define AO_CONFIG_MINOR        17
 
 #define AO_AES_LEN 16
 
@@ -789,6 +792,13 @@ struct ao_config {
        int16_t         accel_zero_across;      /* minor version 15 */
        int16_t         accel_zero_through;     /* minor version 15 */
 #endif
+#if HAS_BEEP
+       uint8_t         mid_beep;               /* minor version 16 */
+#endif
+#if HAS_TRACKER
+       uint16_t        tracker_start_horiz;    /* minor version 17 */
+       uint16_t        tracker_start_vert;     /* minor version 17 */
+#endif
 };
 
 #define AO_IGNITE_MODE_DUAL            0