esp_ldo_release_channel() function
Release the LDO channel
Arguments
chan
The LDO channel handle returned from `esp_ldo_acquire_channel`
Return value
- ESP_OK: Release the LDO channel successfully - ESP_ERR_INVALID_ARG: Release the LDO channel failed due to invalid arguments - ESP_ERR_INVALID_STATE: Release the LDO channel failed due to invalid state, e.g., the channel handle is double released - ESP_FAIL: Release the LDO channel failed due to other reasons