This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d7ff307c examples/amg88xx: fix kconfig
5d7ff307c is described below

commit 5d7ff307c2cb61059522c3a6aec3e790bbf58b3d
Author: Luchian Mihai <luchiann.mi...@gmail.com>
AuthorDate: Mon Feb 3 12:31:53 2025 +0200

    examples/amg88xx: fix kconfig
    
    fix amg88xx kconfig EXAMPLES_AMG88XX_STACKSIZE option name
    
    add depends on SENSORS_AMG88XX to hide the example is the driver is not 
enabled
---
 examples/amg88xx/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/amg88xx/Kconfig b/examples/amg88xx/Kconfig
index 53e663f00..c79092881 100644
--- a/examples/amg88xx/Kconfig
+++ b/examples/amg88xx/Kconfig
@@ -1,6 +1,7 @@
 config EXAMPLES_AMG88XX
        tristate "AMG88xx sensor example"
        default n
+       depends on SENSORS_AMG88XX
        ---help---
                Enable the AMG88xx sensor example
 
@@ -17,7 +18,7 @@ config EXAMPLES_AMG88XX_PRIORITY
        int "AMG88xx task priority"
        default 100
 
-config EXAMPLES_DHTXX_STACKSIZE
+config EXAMPLES_AMG88XX_STACKSIZE
        int "AMG88xx stack size"
        default DEFAULT_TASK_STACKSIZE
 

Reply via email to