diff options
author | Keith Packard <keithp@keithp.com> | 2018-09-11 11:57:50 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:23:25 -0700 |
commit | 2cdb1f30c49ba460b0850d23ba9c85e0336af290 (patch) | |
tree | 880abd83761ec7ce5511b30ee621057eeb8412d8 /src/kernel/ao.h | |
parent | cdaa0d7b272505c49017f409b7c0b8e3240608f0 (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/kernel/ao.h')
-rw-r--r-- | src/kernel/ao.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ao.h b/src/kernel/ao.h index 9c0c8604..1b269d73 100644 --- a/src/kernel/ao.h +++ b/src/kernel/ao.h @@ -230,7 +230,7 @@ ao_cmd_filter(void); #include <ao_beep.h> #endif -#if LEDS_AVAILABLE +#if LEDS_AVAILABLE || HAS_LED #include <ao_led.h> #endif |