summaryrefslogtreecommitdiff
path: root/src/core/ao_telemetry.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-21 22:18:35 -0700
committerKeith Packard <keithp@keithp.com>2012-07-21 22:18:35 -0700
commite7faaabbe4f45e46f091bdadfbda24b5bd8271b8 (patch)
tree72a6b57669cfc3f582829becc5040c2dc9106c21 /src/core/ao_telemetry.c
parent4a08e298d65aeb591ef68f27c49af68d75a85290 (diff)
altos: Baro-only (but record accel) for TM v1.2pwmin
Changes for ULA payload Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_telemetry.c')
-rw-r--r--src/core/ao_telemetry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_telemetry.c b/src/core/ao_telemetry.c
index 5a1b3d1d..8385c6d0 100644
--- a/src/core/ao_telemetry.c
+++ b/src/core/ao_telemetry.c
@@ -285,7 +285,7 @@ ao_telemetry(void)
#if RADIO_DELAY_AFTER_BOOST
while (ao_flight_state < ao_flight_boost)
- ao_sleep(&ao_flight_state);
+ ao_sleep(DATA_TO_XDATA(&ao_flight_state));
ao_delay(AO_SEC_TO_TICKS(RADIO_DELAY_AFTER_BOOST));
#endif