altos: Make accel cal take three axes when present
[fw/altos] / src / kernel / ao_config.h
index 87509dff8df1e94d8b8b15866a5845d021c264c0..8a367733ee00e523ef0eb115767af64073a0cd6a 100644 (file)
@@ -92,7 +92,7 @@ struct ao_config {
 #if HAS_RADIO_AMP
        uint8_t         radio_amp;              /* minor version 14 */
 #endif
-#if HAS_GYRO
+#if HAS_IMU
        int16_t         accel_zero_along;       /* minor version 15 */
        int16_t         accel_zero_across;      /* minor version 15 */
        int16_t         accel_zero_through;     /* minor version 15 */
@@ -139,6 +139,7 @@ extern uint32_t     ao_send_radio_setting;
 #define AO_IGNITE_MODE_DUAL            0
 #define AO_IGNITE_MODE_APOGEE          1
 #define AO_IGNITE_MODE_MAIN            2
+#define AO_IGNITE_MODE_BOOSTER         3
 
 #define AO_RADIO_ENABLE_CORE           1
 #define AO_RADIO_DISABLE_TELEMETRY     2