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
-#if HAS_LED
+#if AO_LED_RED
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
#endif
ao_packet_slave_start();
#endif
-#if HAS_LED
+#if AO_LED_RED
/* signal successful initialization by turning off the LED */
ao_led_off(AO_LED_RED);
#endif
*/
#define HAS_BEEP 1
-#define HAS_LED 0
#define AO_STACK_SIZE 384
*/
#define HAS_BEEP 0
-#define HAS_LED 1
/* Crystal on the board */
#define AO_LPC_CLKIN 12000000
*/
#define HAS_BEEP 0
-#define HAS_LED 1
#define AO_STACK_SIZE 384