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