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:29 UTC

[incubator-nuttx-apps] 02/02: examples/buttons: Switch dependence from ARCH_HAVE_BUTTONS to BUTTONS

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 3f6343d3e79c11c4db9a2aeaecb8ddd01d6b6854
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Jun 6 02:11:11 2020 +0800

    examples/buttons: Switch dependence from ARCH_HAVE_BUTTONS to BUTTONS
    
    application just use BUTTONS ioctl and shouldn't take care the implementation detail
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
    Change-Id: Ia4d615700de1ac17302ab9b6379340fb81e69d86
---
 examples/buttons/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/buttons/Kconfig b/examples/buttons/Kconfig
index 42150b3..560cc2e 100644
--- a/examples/buttons/Kconfig
+++ b/examples/buttons/Kconfig
@@ -6,7 +6,7 @@
 config EXAMPLES_BUTTONS
 	tristate "Buttons driver example"
 	default n
-	depends on ARCH_HAVE_BUTTONS
+	depends on BUTTONS
 	---help---
 		Enable the Buttons drivers example