boards/arm/s32k1xx/rddrone-uavcan144/src/s32k1xx_bringup.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-12-06 20:34:29 +09:00 committed by Xiang Xiao
parent a600b2478d
commit faa23102fe
1 changed files with 2 additions and 2 deletions

View File

@ -133,14 +133,14 @@ int s32k1xx_bringup(void)
if (i2c == NULL)
{
serr("ERROR: Failed to get I2C%d interface\n", bus);
serr("ERROR: Failed to get I2C interface\n");
}
else
{
ret = i2c_register(i2c, 0);
if (ret < 0)
{
serr("ERROR: Failed to register I2C%d driver: %d\n", bus, ret);
serr("ERROR: Failed to register I2C driver: %d\n", ret);
s32k1xx_i2cbus_uninitialize(i2c);
}
}