Driver: i2c_ll_stm32_v2: Remove log msg on boot
Converts the `<inf> i2c_ll_stm32_v2: I2C TIMING` message displayed by the driver to a LOG_DBG. Also makes an actual error message a LOG_ERR instead of a LOG_DBG. Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
This commit is contained in:
parent
65f63622e2
commit
1c19d43564
1 changed files with 2 additions and 2 deletions
|
|
@ -1115,11 +1115,11 @@ int stm32_i2c_configure_timing(const struct device *dev, uint32_t clock)
|
|||
} while (presc < 16);
|
||||
|
||||
if (presc >= 16U) {
|
||||
LOG_DBG("I2C:failed to find prescaler value");
|
||||
LOG_ERR("I2C:failed to find prescaler value");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
LOG_INF("I2C TIMING = 0x%x", timing);
|
||||
LOG_DBG("I2C TIMING = 0x%x", timing);
|
||||
LL_I2C_SetTiming(i2c, timing);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue