From 718a8affe1df98eacfd707b5c8c34f9456dcff14 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 4 Jun 2012 20:47:14 -0700 Subject: [PATCH] altos: Remove accel_ref from pre v1.1 TM firmware V1.0 needs RAM space for flash buffer, leaving too little room for this extra data. Signed-off-by: Keith Packard --- src/cc1111/ao_arch.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc1111/ao_arch.h b/src/cc1111/ao_arch.h index 44116b81..cece09eb 100644 --- a/src/cc1111/ao_arch.h +++ b/src/cc1111/ao_arch.h @@ -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 -- 2.39.5