diff options
| author | GuEe-GUI <[email protected]> | 2024-11-27 13:42:45 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-11-28 09:46:02 +0800 |
| commit | 175a7d26bf904e037f1abb9a06435deedd8b6483 (patch) | |
| tree | df58ffd09d94ff65aeea12e3640cf6c16d5255d4 /components/drivers/include/rtdevice.h | |
| parent | d3820ed77e26759c3a3d29dad65bbcca371374c6 (diff) | |
[DM/FEATURE] Support LED
Provides general LED control API and drivers.
It can work on PWM, GPIO and Syscon...
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
| -rw-r--r-- | components/drivers/include/rtdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index 2e1860e00c..fd51ea7db4 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -51,6 +51,10 @@ extern "C" { #endif /* RT_ATA_AHCI */ #endif /* RT_USING_ATA */ +#ifdef RT_USING_LED +#include "drivers/led.h" +#endif + #ifdef RT_USING_MBOX #include "drivers/mailbox.h" #endif /* RT_USING_MBOX */ |
