summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-04 20:47:14 -0700
committerKeith Packard <keithp@keithp.com>2012-06-04 20:47:14 -0700
commit718a8affe1df98eacfd707b5c8c34f9456dcff14 (patch)
tree9507562b6c37b52d59de6c1c5e908de8e68a67e5
parent7a19d6790a9800f925c8de24aac71796351e2c04 (diff)
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 <keithp@keithp.com>
-rw-r--r--src/cc1111/ao_arch.h2
1 files changed, 2 insertions, 0 deletions
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