ao_flight was trying to decide whether to turn off the red LED by
checking whether HAS_LED was defined. And yet, none of the flight
firmware defines that anymore, except for easymini which defines it to
zero.
Remove all uses and defines of this value, substituting AO_LED_RED in
ao_flight.c, which has to be defined for the ao_led_off call to work.
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);
#endif
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
#endif
ao_packet_slave_start();
#endif
ao_packet_slave_start();
#endif
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
#endif
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
#endif
#define AO_STACK_SIZE 384
#define AO_STACK_SIZE 384
/* Crystal on the board */
#define AO_LPC_CLKIN 12000000
/* Crystal on the board */
#define AO_LPC_CLKIN 12000000
#define AO_STACK_SIZE 384
#define AO_STACK_SIZE 384