/* Give the person a second to get their finger out of the way */
ao_delay(AO_MS_TO_TICKS(1000));
- ao_pips();
-
ao_log_micro_restore();
ao_compute_height();
ao_report_altitude();
+
+ ao_pips();
+
ao_log_micro_dump();
#if BOOST_DELAY
ao_compute_height();
ao_report_altitude();
+ ao_sleep_mode();
ao_sleep(&ao_on_battery);
}
void
main(void)
{
+ int i;
+
+ for (i = 0; i < 100000; i++)
+ ao_arch_nop();
+
if (ao_battery_voltage() < 320)
ao_on_battery = 1;