mirror of
https://github.com/esphome/esphome.git
synced 2026-01-08 19:20:51 -07:00
[max31865] Combine log statements to reduce loop blocking
This commit is contained in:
@@ -80,14 +80,14 @@ void MAX31865Sensor::setup() {
|
||||
|
||||
void MAX31865Sensor::dump_config() {
|
||||
LOG_SENSOR("", "MAX31865", this);
|
||||
LOG_PIN(" CS Pin: ", this->cs_);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Reference Resistance: %.2fΩ\n"
|
||||
" RTD: %u-wire %.2fΩ\n"
|
||||
" Mains Filter: %s",
|
||||
reference_resistance_, rtd_wires_, rtd_nominal_resistance_,
|
||||
(filter_ == FILTER_60HZ ? "60 Hz" : (filter_ == FILTER_50HZ ? "50 Hz" : "Unknown!")));
|
||||
LOG_PIN(" CS Pin: ", this->cs_);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
}
|
||||
|
||||
float MAX31865Sensor::get_setup_priority() const { return setup_priority::DATA; }
|
||||
|
||||
Reference in New Issue
Block a user