diff options
| author | Keith Packard <keithp@keithp.com> | 2010-02-27 15:14:04 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-02-27 15:14:04 -0800 |
| commit | 7aab73a265841aac817ea34235dd1eb819debf76 (patch) | |
| tree | 34d5cacf331acf7e0c70da928015f5993e6876a3 /src/ao_teledongle.c | |
| parent | 1d6d8d76ec65373ffee70add75d183f5c4168f61 (diff) | |
Fix up LED colors for each product.
Different products assign different color LEDs to the two available
LED drivers (P1_0, P1_1). Make the LED color pin assignments
per-product (in ao_pins.h), then deal with not always having a green LED.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_teledongle.c')
| -rw-r--r-- | src/ao_teledongle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_teledongle.c b/src/ao_teledongle.c index b07b1746..505dc0cb 100644 --- a/src/ao_teledongle.c +++ b/src/ao_teledongle.c @@ -23,7 +23,7 @@ main(void) ao_clock_init(); /* Turn on the LED until the system is stable */ - ao_led_init(AO_LED_RED|AO_LED_GREEN); + ao_led_init(LEDS_AVAILABLE); ao_led_on(AO_LED_RED); ao_timer_init(); ao_cmd_init(); |
