-#if HAS_EEPROM
-
- /* Set MOSI and CLK as inputs with pull-ups */
- DDRB &= ~(1 << 0) | (1 << 2);
- PORTB |= (1 << 0) | (1 << 2);
-
- /* Check to see if either MOSI or CLK are pulled low by the
- * user shorting them to ground. If so, dump the eeprom out
- * via the LED. Wait for the shorting wire to go away before
- * continuing.
- */
- while ((PINB & ((1 << 0) | (1 << 2))) != ((1 << 0) | (1 << 2)))
- dump_eeprom = 1;
- PORTB &= ~(1 << 0) | (1 << 2);
-
- ao_i2c_init();
-#endif
- ao_restore_flight();
- ao_compute_height();
- ao_report_altitude();
-