mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Update stm32_ina219.c
Fix mistakes in syslog
This commit is contained in:
committed by
Petro Karashchenko
parent
7a9b434ae6
commit
666c2d255a
@@ -97,7 +97,7 @@ int board_ina219_initialize(int devno, int busno)
|
|||||||
ret = ina219_register(devpath, i2c, 0x40, 100000, 0x00);
|
ret = ina219_register(devpath, i2c, 0x40, 100000, 0x00);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Error registering hih6130\n");
|
syslog(LOG_ERR, "ERROR: Error registering INA219\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user