altos: Remove accel_ref from pre v1.1 TM firmware
[fw/altos] / src / cc1111 / ao_arch.h
index 44116b812d9a07820a41c99d24089e1790ebc5b5..cece09ebbf14ce9989ae0b7c1bc219a4aa69169d 100644 (file)
@@ -205,7 +205,9 @@ struct ao_adc {
        int16_t         v_batt;         /* battery voltage */
        int16_t         sense_d;        /* drogue continuity sense */
        int16_t         sense_m;        /* main continuity sense */
+#if HAS_ACCEL_REF
        int16_t         accel_ref;      /* acceleration reference */
+#endif
 };
 
 #define AO_DATA_RING   32