altos: HAS_LED is useless; remove it
authorKeith Packard <keithp@keithp.com>
Sat, 29 Mar 2014 06:33:25 +0000 (23:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 29 Mar 2014 06:33:25 +0000 (23:33 -0700)
commitff4deb417a460d96645fb6934890c2c195142be3
tree47afe66fe064a3c55ef21efccaca488875c0eef5
parentca0bf9fb2d6323d7a454e5ce04b48d11366eee67
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 <keithp@keithp.com>
src/core/ao_flight.c
src/easymini-v1.0/ao_pins.h
src/lpcxpresso/ao_pins.h
src/usbtrng/ao_pins.h