mirror of
https://github.com/esphome/esphome.git
synced 2026-09-04 03:56:04 +00:00
[esp_ldo] Combine log statements to reduce loop blocking (#12886)
This commit is contained in:
@@ -21,9 +21,11 @@ void EspLdo::setup() {
|
||||
}
|
||||
}
|
||||
void EspLdo::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "ESP LDO Channel %d:", this->channel_);
|
||||
ESP_LOGCONFIG(TAG, " Voltage: %fV", this->voltage_);
|
||||
ESP_LOGCONFIG(TAG, " Adjustable: %s", YESNO(this->adjustable_));
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"ESP LDO Channel %d:\n"
|
||||
" Voltage: %fV\n"
|
||||
" Adjustable: %s",
|
||||
this->channel_, this->voltage_, YESNO(this->adjustable_));
|
||||
}
|
||||
|
||||
void EspLdo::adjust_voltage(float voltage) {
|
||||
|
||||
Reference in New Issue
Block a user