Update stm32_mlx90614.c
Fix mistakes in comments and snerr
This commit is contained in:
parent
4ab8f9383d
commit
07c0b2844a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user