[esp_ldo] Combine log statements to reduce loop blocking (#12886)
This commit is contained in:
1 parent
12c6f5749e
commit
c96d0015a0
1 file changed
+5
-3
@@ -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