From: Keith Packard Date: Thu, 19 Jul 2012 20:42:30 +0000 (-0700) Subject: altos: Start radio a fixed time after boost X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=3f5fcda8481079b7784ef3facf264f4831c1f26c;p=fw%2Faltos altos: Start radio a fixed time after boost Keeps the radio quiet while inside the ULA airframe Signed-off-by: Keith Packard --- diff --git a/src/core/ao_telemetry.c b/src/core/ao_telemetry.c index 52ac9489..5a1b3d1d 100644 --- a/src/core/ao_telemetry.c +++ b/src/core/ao_telemetry.c @@ -283,6 +283,12 @@ ao_telemetry(void) while (!ao_flight_number) ao_sleep(&ao_flight_number); +#if RADIO_DELAY_AFTER_BOOST + while (ao_flight_state < ao_flight_boost) + ao_sleep(&ao_flight_state); + ao_delay(AO_SEC_TO_TICKS(RADIO_DELAY_AFTER_BOOST)); +#endif + telemetry.generic.serial = ao_serial_number; for (;;) { while (ao_telemetry_interval == 0)