mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-09 07:37:25 +00:00
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
Closes https://github.com/espressif/esp-idf/issues/10595 Closes https://github.com/espressif/esp-idf/issues/11386
This commit is contained in:
@@ -562,6 +562,7 @@ static inline uint32_t adc_ll_pwdet_get_cct(void)
|
||||
*
|
||||
* @param manage Set ADC power status.
|
||||
*/
|
||||
__attribute__((always_inline))
|
||||
static inline void adc_ll_digi_set_power_manage(adc_ll_power_t manage)
|
||||
{
|
||||
if (manage == ADC_LL_POWER_SW_ON) {
|
||||
|
||||
Reference in New Issue
Block a user