10 esp_ldo_channel_config_t config{};
14 auto err = esp_ldo_acquire_channel(&config, &this->
handle_);
16 ESP_LOGE(TAG,
"Failed to acquire LDO channel %d with voltage %dmV", this->
channel_, this->
voltage_mv_);
17 this->
mark_failed(LOG_STR(
"Failed to acquire LDO channel"));
19 ESP_LOGD(TAG,
"Acquired LDO channel %d with voltage %dmV", this->
channel_, this->
voltage_mv_);