altos: Calibrate IMU accelerometers too
[fw/altos] / src / core / ao.h
index ea37885e03e4c84987cea74904ee2bbc1f5ae4d5..d12f13a08f0f3979e4cbae178b8db33133e9836b 100644 (file)
@@ -739,7 +739,7 @@ extern __xdata uint8_t ao_force_freq;
 #endif
 
 #define AO_CONFIG_MAJOR        1
-#define AO_CONFIG_MINOR        14
+#define AO_CONFIG_MINOR        15
 
 #define AO_AES_LEN 16
 
@@ -773,6 +773,11 @@ struct ao_config {
 #if HAS_RADIO_AMP
        uint8_t         radio_amp;              /* minor version 14 */
 #endif
+#if HAS_GYRO
+       uint16_t        accel_zero_along;       /* minor version 15 */
+       uint16_t        accel_zero_across;      /* minor version 15 */
+       uint16_t        accel_zero_through;     /* minor version 15 */
+#endif
 };
 
 #define AO_IGNITE_MODE_DUAL            0