adc2_wifi_release() function
For WIFI module to let other tasks use the ADC2 when WIFI is not work. Other tasks will be forbidden to use ADC2 between ``adc2_wifi_acquire`` and ``adc2_wifi_release``. Call this function to release the occupation of ADC2 by WIFI.
Return value
- ESP_OK: On success - ESP_ERR_INVALID_STATE: The lock(s) isn't acquired yet
adc2_wifi_release() calls 1 function:
![]()
adc2_wifi_release()
adc2_wifi_release() reads 1 variable:
![]()
adc2_wifi_release()