Update stm32_mlx90614.c

Fix mistakes in comments and snerr
This commit is contained in:
simbit18 2022-07-29 11:00:55 +02:00 committed by Petro Karashchenko
parent 4ab8f9383d
commit 07c0b2844a
1 changed files with 2 additions and 2 deletions

View File

@ -76,13 +76,13 @@ int board_mlx90614_initialize(int devno, int busno)
return -ENODEV; return -ENODEV;
} }
/* Then register the light sensor */ /* Then register the Infrared Thermometer sensor */
snprintf(devpath, 12, "/dev/therm%d", devno); snprintf(devpath, 12, "/dev/therm%d", devno);
ret = mlx90614_register(devpath, i2c, MLX90614_ADDRESS); ret = mlx90614_register(devpath, i2c, MLX90614_ADDRESS);
if (ret < 0) if (ret < 0)
{ {
snerr("ERROR: Error registering BM180\n"); snerr("ERROR: Error registering MLX90614\n");
} }
return ret; return ret;