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/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 2868e28837 fix incorrect comments 2868e28837 is described below commit 2868e28837a762b1ca0241b84f5b74ee7fe7f80b Author: simbit18 <101105604+simbi...@users.noreply.github.com> AuthorDate: Thu Aug 3 14:29:37 2023 +0200 fix incorrect comments stm32_bh1750.c: barometer -> ambient light sensor xmc4_max6675.c: barometer -> temperature esp32_max6675.c: barometer -> temperature esp32s2_max6675.c: barometer -> temperature --- boards/arm/stm32/common/src/stm32_bh1750.c | 2 +- boards/arm/xmc4/xmc4500-relax/src/xmc4_max6675.c | 2 +- boards/xtensa/esp32/common/src/esp32_max6675.c | 2 +- boards/xtensa/esp32s2/common/src/esp32s2_max6675.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/arm/stm32/common/src/stm32_bh1750.c b/boards/arm/stm32/common/src/stm32_bh1750.c index e01bce0069..09b77aa8e8 100644 --- a/boards/arm/stm32/common/src/stm32_bh1750.c +++ b/boards/arm/stm32/common/src/stm32_bh1750.c @@ -74,7 +74,7 @@ int board_bh1750_initialize(int devno, int busno) return -ENODEV; } - /* Then register the barometer sensor */ + /* Then register the ambient light sensor */ ret = bh1750fvi_register(devpath, i2c, BH1750FVI_I2C_ADDR); if (ret < 0) diff --git a/boards/arm/xmc4/xmc4500-relax/src/xmc4_max6675.c b/boards/arm/xmc4/xmc4500-relax/src/xmc4_max6675.c index 6bf38efa27..aa6ed4eb1d 100644 --- a/boards/arm/xmc4/xmc4500-relax/src/xmc4_max6675.c +++ b/boards/arm/xmc4/xmc4500-relax/src/xmc4_max6675.c @@ -71,7 +71,7 @@ int xmc4_max6675initialize(const char *devpath) return -ENODEV; } - /* Then register the barometer sensor */ + /* Then register the temperature sensor */ ret = max6675_register(devpath, spi); if (ret < 0) diff --git a/boards/xtensa/esp32/common/src/esp32_max6675.c b/boards/xtensa/esp32/common/src/esp32_max6675.c index 174c36f02c..1cfc5d16a7 100644 --- a/boards/xtensa/esp32/common/src/esp32_max6675.c +++ b/boards/xtensa/esp32/common/src/esp32_max6675.c @@ -88,7 +88,7 @@ int board_max6675_initialize(int devno, int busno) return -ENODEV; } - /* Then register the barometer sensor */ + /* Then register the temperature sensor */ snprintf(devpath, sizeof(devpath), "/dev/temp%d", devno); ret = max6675_register(devpath, spi); diff --git a/boards/xtensa/esp32s2/common/src/esp32s2_max6675.c b/boards/xtensa/esp32s2/common/src/esp32s2_max6675.c index bc28ba8d2f..18919b5eec 100644 --- a/boards/xtensa/esp32s2/common/src/esp32s2_max6675.c +++ b/boards/xtensa/esp32s2/common/src/esp32s2_max6675.c @@ -88,7 +88,7 @@ int board_max6675_initialize(int devno, int busno) return -ENODEV; } - /* Then register the barometer sensor */ + /* Then register the temperature sensor */ snprintf(devpath, sizeof(devpath), "/dev/temp%d", devno); ret = max6675_register(devpath, spi);