mirror of
https://github.com/esphome/esphome.git
synced 2025-04-06 19:00:29 +01:00
add logs
This commit is contained in:
parent
101046d5de
commit
df35ceea7b
@ -158,7 +158,8 @@ void ADCSensor::dump_config() {
|
||||
#endif // USE_RP2040
|
||||
|
||||
#ifdef USE_ZEPHYR
|
||||
ESP_LOGCONFIG(TAG, " Name: %s, channel_id: %d", adc_chan_->dev->name, adc_chan_->channel_id);
|
||||
ESP_LOGCONFIG(TAG, " Name: %s, channel_id: %d, vref_mv: %d, resolution %d, oversampling %d", adc_chan_->dev->name,
|
||||
adc_chan_->channel_id, adc_chan_->vref_mv, adc_chan_->resolution, adc_chan_->oversampling);
|
||||
#endif
|
||||
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user