altos: ao_sample_preflight was exiting preflight mode immediately
authorKeith Packard <keithp@keithp.com>
Tue, 29 Mar 2011 17:08:46 +0000 (10:08 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 29 Mar 2011 17:08:46 +0000 (10:08 -0700)
commit08e6bbef2c3529dfd468ef221c526fc9f3ed5b81
treee2eeaf5b2c9a492101fe44ddc1fe52b2b01d83d8
parent56d045040c49728a854741e99545766f3723da5e
altos: ao_sample_preflight was exiting preflight mode immediately

Need to stay in pre-flight mode until we've gotten enough sensor data
to calibrate things appropriately. The conversion from a unified
ao_flight.c file was just broken here.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_sample.c