diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-04 11:45:52 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-09-04 11:45:52 -0700 |
commit | 54545640b0db7747137655f84bc67fd290ecb904 (patch) | |
tree | 6cee8db5f36a5c2b7cfd2c3f6bc16287325d4d21 /src/ao_flight.c | |
parent | 9fafee109e96435c96639b21211cac0500673a63 (diff) |
Add back the RDF tone generator
Tracking the rocket on the ground may be easier using tones than using
the digital data stream, so we'll try that and see what we think.
This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_flight.c')
-rw-r--r-- | src/ao_flight.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c index be9b3bb6..2b062c13 100644 --- a/src/ao_flight.c +++ b/src/ao_flight.c @@ -227,6 +227,7 @@ ao_flight(void) /* Turn on telemetry system */ + ao_rdf_set(1); ao_telemetry_set_interval(AO_TELEMETRY_INTERVAL_PAD); ao_flight_state = ao_flight_pad; @@ -277,6 +278,9 @@ ao_flight(void) /* Increase telemetry rate */ ao_telemetry_set_interval(AO_TELEMETRY_INTERVAL_FLIGHT); + /* disable RDF beacon */ + ao_rdf_set(0); + ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); break; } @@ -356,6 +360,9 @@ ao_flight(void) /* slow down the ADC sample rate */ ao_timer_set_adc_interval(10); + /* Enable RDF beacon */ + ao_rdf_set(1); + /* * Start recording min/max accel and pres for a while * to figure out when the rocket has landed |