diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-29 18:11:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-29 18:11:47 -0700 |
commit | 87bff181a95f6bf92c2cec350d331ba6af779e80 (patch) | |
tree | 1a7a21f87e707b158c0bbee95d573377f7806b35 /src | |
parent | 011e37f27b3926a42c8c1a74e0f179bb48829ec7 (diff) |
altos: Enable logging during nano flights
Not having logging wasn't very useful.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ao_flight_nano.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ao_flight_nano.c b/src/ao_flight_nano.c index 64c1d8db..32770227 100644 --- a/src/ao_flight_nano.c +++ b/src/ao_flight_nano.c @@ -75,6 +75,10 @@ ao_flight_nano(void) if (ao_height> AO_M_TO_HEIGHT(20)) { ao_flight_state = ao_flight_drogue; ao_launch_tick = ao_sample_tick; + + /* start logging data */ + ao_log_start(); + ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); } break; |