altos: Remove accel_ref from pre v1.1 TM firmware
authorKeith Packard <keithp@keithp.com>
Tue, 5 Jun 2012 03:47:14 +0000 (20:47 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 5 Jun 2012 03:47:14 +0000 (20:47 -0700)
V1.0 needs RAM space for flash buffer, leaving too little room for
this extra data.

Signed-off-by: Keith Packard <keithp@keithp.com>
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