drivers: sensor: bme680: Use DBG log level for non-error
Use LOG_DBG instead of LOG_ERR when BME680 chip is detected and its ID verified successfully. Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
This commit is contained in:
parent
edfd6617c2
commit
8134001148
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ static int bme680_chip_init(struct device *dev)
|
|||
}
|
||||
|
||||
if (data->chip_id == BME680_CHIP_ID) {
|
||||
LOG_ERR("BME680 chip detected");
|
||||
LOG_DBG("BME680 chip detected");
|
||||
} else {
|
||||
LOG_ERR("Bad BME680 chip id 0x%x", data->chip_id);
|
||||
return -ENOTSUP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue