summaryrefslogtreecommitdiff
path: root/src/easymega-v1.0/ao_easymega.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-09-11 11:57:50 -0700
committerKeith Packard <keithp@keithp.com>2018-10-13 08:23:25 -0700
commit2cdb1f30c49ba460b0850d23ba9c85e0336af290 (patch)
tree880abd83761ec7ce5511b30ee621057eeb8412d8 /src/easymega-v1.0/ao_easymega.c
parentcdaa0d7b272505c49017f409b7c0b8e3240608f0 (diff)
altos: Add generic LED driver.
This driver uses the generic GPIO functions and allows per-LED port and pin configuration. It supports up to 32 LEDs. Rename SoC-specific LED drivers. Remove enabled parameter to ao_led_init Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymega-v1.0/ao_easymega.c')
-rw-r--r--src/easymega-v1.0/ao_easymega.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/easymega-v1.0/ao_easymega.c b/src/easymega-v1.0/ao_easymega.c
index 9848c367..d00585f9 100644
--- a/src/easymega-v1.0/ao_easymega.c
+++ b/src/easymega-v1.0/ao_easymega.c
@@ -43,7 +43,7 @@ main(void)
#endif
ao_task_init();
- ao_led_init(LEDS_AVAILABLE);
+ ao_led_init();
ao_led_on(LEDS_AVAILABLE);
ao_timer_init();