You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/24 15:53:03 UTC

[incubator-nuttx] branch master updated: drivers/sensors: fix Kconfig warning

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c50d390  drivers/sensors: fix Kconfig warning
c50d390 is described below

commit c50d39060b1cffda2b7c1493ac82949ef455f89a
Author: chao.an <an...@xiaomi.com>
AuthorDate: Mon Jan 24 22:45:36 2022 +0800

    drivers/sensors: fix Kconfig warning
    
    drivers/sensors/Kconfig:590:warning: defaults for choice values not supported
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 drivers/sensors/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig
index 8499450..014b3b5 100644
--- a/drivers/sensors/Kconfig
+++ b/drivers/sensors/Kconfig
@@ -585,14 +585,14 @@ config MS5611_SPI
 	---help---
 		Enables support for the SPI interface.
 
+endchoice
+
 config MS5611_THREAD_STACKSIZE
 	int "Worker thread stack size"
 	default 1024
 	---help---
 		The stack size for the worker thread
 
-endchoice
-
 config MS5611_I2C_FREQUENCY
 	int "MS5611 I2C frequency"
 	default 400000