if (ao_interval_max_height - ao_interval_min_height < AO_M_TO_HEIGHT(5))
{
ao_flight_state = ao_flight_landed;
/* turn off the ADC capture */
ao_timer_set_adc_interval(0);
if (ao_interval_max_height - ao_interval_min_height < AO_M_TO_HEIGHT(5))
{
ao_flight_state = ao_flight_landed;
/* turn off the ADC capture */
ao_timer_set_adc_interval(0);