summaryrefslogtreecommitdiff
path: root/src/ao_telemetry.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-09-04 08:48:05 -0700
committerKeith Packard <keithp@keithp.com>2011-09-04 08:48:05 -0700
commitd1e81db87ce0f89fd0b7651ca00979498cd00b78 (patch)
treed3ea8cc1b97c4d0ca010419dacde69350161dbbf /src/ao_telemetry.c
parent93b8f40bb451c9ec152490d1f431ab18f8ecb7d1 (diff)
altos: Delay restart of RDF at apogee
Instead of immediately trying to send RDF at apogee, start it after the usual RDF interval to avoid doing RDF while firing the apogee igniter. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_telemetry.c')
-rw-r--r--src/ao_telemetry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_telemetry.c b/src/ao_telemetry.c
index c7338a58..d006aa59 100644
--- a/src/ao_telemetry.c
+++ b/src/ao_telemetry.c
@@ -258,7 +258,7 @@ ao_rdf_set(uint8_t rdf)
if (rdf == 0)
ao_radio_rdf_abort();
else
- ao_rdf_time = ao_time();
+ ao_rdf_time = ao_time() + AO_RDF_INTERVAL_TICKS;
}
__xdata struct ao_task ao_telemetry_task;