You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/07/29 13:09:33 UTC

[incubator-nuttx] 01/04: Update stm32_mlx90614.c

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

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

commit 07c0b2844a6c0af8860779645d835fdcd16732a4
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Fri Jul 29 11:00:55 2022 +0200

    Update stm32_mlx90614.c
    
    Fix mistakes in comments and snerr
---
 boards/arm/stm32/common/src/stm32_mlx90614.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/arm/stm32/common/src/stm32_mlx90614.c b/boards/arm/stm32/common/src/stm32_mlx90614.c
index c33cfb2deb..f497eb4753 100644
--- a/boards/arm/stm32/common/src/stm32_mlx90614.c
+++ b/boards/arm/stm32/common/src/stm32_mlx90614.c
@@ -76,13 +76,13 @@ int board_mlx90614_initialize(int devno, int busno)
       return -ENODEV;
     }
 
-  /* Then register the light sensor */
+  /* Then register the Infrared Thermometer sensor */
 
   snprintf(devpath, 12, "/dev/therm%d", devno);
   ret = mlx90614_register(devpath, i2c, MLX90614_ADDRESS);
   if (ret < 0)
     {
-      snerr("ERROR: Error registering BM180\n");
+      snerr("ERROR: Error registering MLX90614\n");
     }
 
   return ret;