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 2021/07/04 04:33:51 UTC

[incubator-nuttx] 03/04: boards: cxd56xx: Fix bmp280 compile error

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

commit adc72de2eef75f54a460326bfb405aa1ea77f602
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Sun Jul 4 12:42:12 2021 +0900

    boards: cxd56xx: Fix bmp280 compile error
    
    Fix compile error caused by bmp280.h being updated.
---
 boards/arm/cxd56xx/drivers/sensors/bmp280_scu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/cxd56xx/drivers/sensors/bmp280_scu.c b/boards/arm/cxd56xx/drivers/sensors/bmp280_scu.c
index 9094baa..ceb272b 100644
--- a/boards/arm/cxd56xx/drivers/sensors/bmp280_scu.c
+++ b/boards/arm/cxd56xx/drivers/sensors/bmp280_scu.c
@@ -465,7 +465,7 @@ static int bmp280_initialize(FAR struct bmp280_dev_s *priv)
 {
   int ret;
 
-  ret = bmp280_set_standby(priv, BMP280_STANDBY_1_MS);
+  ret = bmp280_set_standby(priv, BMP280_STANDBY_05_MS);
 
   if (ret != OK)
     {