From ff4deb417a460d96645fb6934890c2c195142be3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 28 Mar 2014 23:33:25 -0700 Subject: altos: HAS_LED is useless; remove it 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 --- src/lpcxpresso/ao_pins.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lpcxpresso') diff --git a/src/lpcxpresso/ao_pins.h b/src/lpcxpresso/ao_pins.h index c0074ce2..0ffc2fad 100644 --- a/src/lpcxpresso/ao_pins.h +++ b/src/lpcxpresso/ao_pins.h @@ -16,7 +16,6 @@ */ #define HAS_BEEP 0 -#define HAS_LED 1 /* Crystal on the board */ #define AO_LPC_CLKIN 12000000 -- cgit v1.2.3