drivers: sensor: remove LOG_INF from ntc_thermistor_sample_fetch()
LOG_INF() inside of a sample_fetch create noise in the logs and is inconsistent with other sensor driver implementations. Signed-off-by: Maxmillion McLaughlin <github@maxmclau.com>
This commit is contained in:
parent
13484b5bdc
commit
0df085bb36
|
@ -65,7 +65,6 @@ static int ntc_thermistor_channel_get(const struct device *dev, enum sensor_chan
|
||||||
temp = ntc_get_temp_mc(&cfg->ntc_cfg.type, ohm);
|
temp = ntc_get_temp_mc(&cfg->ntc_cfg.type, ohm);
|
||||||
val->val1 = temp / 1000;
|
val->val1 = temp / 1000;
|
||||||
val->val2 = (temp % 1000) * 1000;
|
val->val2 = (temp % 1000) * 1000;
|
||||||
LOG_INF("ntc temp says %u", val->val1);
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -ENOTSUP;
|
return -ENOTSUP;
|
||||||
|
|
Loading…
Reference in a new issue