summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7166640)
EasyMini has no LEDs. Deal with it.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao_rdf_set(1);
ao_telemetry_set_interval(AO_TELEMETRY_INTERVAL_PAD);
#endif
ao_rdf_set(1);
ao_telemetry_set_interval(AO_TELEMETRY_INTERVAL_PAD);
#endif
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
} else {
/* Set idle mode */
ao_flight_state = ao_flight_idle;
} else {
/* Set idle mode */
ao_flight_state = ao_flight_idle;
ao_packet_slave_start();
#endif
ao_packet_slave_start();
#endif
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
}
/* wakeup threads due to state change */
ao_wakeup(DATA_TO_XDATA(&ao_flight_state));
}
/* wakeup threads due to state change */
ao_wakeup(DATA_TO_XDATA(&ao_flight_state));