mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
fix(esp_adc): Release the peripheral after calibration
This commit is contained in:
@@ -77,5 +77,6 @@ static __attribute__((constructor)) void adc_hw_calibration(void)
|
||||
}
|
||||
}
|
||||
ANALOG_CLOCK_DISABLE();
|
||||
adc_apb_periph_free();
|
||||
}
|
||||
#endif //#if SOC_ADC_CALIBRATION_V1_SUPPORTED
|
||||
|
||||
Reference in New Issue
Block a user