projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4678d7
)
altos: Start radio a fixed time after boost
author
Keith Packard
<keithp@keithp.com>
Thu, 19 Jul 2012 20:42:30 +0000
(13:42 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 19 Jul 2012 20:42:30 +0000
(13:42 -0700)
Keeps the radio quiet while inside the ULA airframe
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_telemetry.c
patch
|
blob
|
history
diff --git
a/src/core/ao_telemetry.c
b/src/core/ao_telemetry.c
index 52ac94891adebd99f915cf97a20e95ddf171a18c..5a1b3d1d75ccfee1a72e6b2dc1a04553be26445a 100644
(file)
--- 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)