mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 19:53:46 +01:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -68,8 +68,10 @@ void X9cOutput::dump_config() {
|
||||
LOG_PIN(" Chip Select Pin: ", this->cs_pin_);
|
||||
LOG_PIN(" Increment Pin: ", this->inc_pin_);
|
||||
LOG_PIN(" Up/Down Pin: ", this->ud_pin_);
|
||||
ESP_LOGCONFIG(TAG, " Initial Value: %f", this->initial_value_);
|
||||
ESP_LOGCONFIG(TAG, " Step Delay: %d", this->step_delay_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Initial Value: %f\n"
|
||||
" Step Delay: %d",
|
||||
this->initial_value_, this->step_delay_);
|
||||
LOG_FLOAT_OUTPUT(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user