Skip to content

Commit

Permalink
drivers: sensor: remove LOG_INF from ntc_thermistor_sample_fetch()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
maxmclau authored and carlescufi committed Sep 2, 2023
1 parent 13484b5 commit 0df085b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/sensor/ntc_thermistor/ntc_thermistor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
val->val1 = temp / 1000;
val->val2 = (temp % 1000) * 1000;
LOG_INF("ntc temp says %u", val->val1);
break;
default:
return -ENOTSUP;
Expand Down

0 comments on commit 0df085b

Please sign in to comment.