Stop using LPC-specific LED code, switch the config around.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao_adc_lpc.c \
ao_serial_lpc.c \
ao_usb_lpc.c \
- ao_led_lpc.c
+ ao_led.c
PRODUCT=QuantiMotor-v1
PRODUCT_DEF=-DQUANTIMOTOR_V_1
/* LED */
-#define LED_PORT 0
-#define LED_PIN_HEALTH 8
-#define AO_LED_HEALTH (1 << LED_PIN_HEALTH)
-#define LEDS_AVAILABLE (AO_LED_HEALTH)
+#define HAS_LED 1
+#define LED_0_PORT 0
+#define LED_0_PIN 8
+#define AO_LED_HEALTH (1 << 0)
#define AO_LED_PANIC AO_LED_HEALTH
/*