You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/06 00:03:28 UTC
[incubator-nuttx-apps] 01/02: examples/leds: Switch dependence from
ARCH_HAVE_LEDS && !ARCH_LEDS to USERLED
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 8e9e49a2f81c690b4471d396ec10ae3675d61e6b
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Jun 6 02:04:41 2020 +0800
examples/leds: Switch dependence from ARCH_HAVE_LEDS && !ARCH_LEDS to USERLED
application just use USERLED ioctl and shouldn't take care the implementation detail
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
Change-Id: I5b707d86db1bd96d85b6fed1d5a403584739f0d7
---
examples/leds/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/leds/Kconfig b/examples/leds/Kconfig
index 6f1f092..5e364b9 100644
--- a/examples/leds/Kconfig
+++ b/examples/leds/Kconfig
@@ -6,7 +6,7 @@
config EXAMPLES_LEDS
tristate "LED driver example"
default n
- depends on ARCH_HAVE_LEDS && !ARCH_LEDS
+ depends on USERLED
---help---
Enable the LED driversexample