fix(esp_adc): Release the peripheral after calibration

This commit is contained in:
Deomid rojer Ryabkov
2025-06-14 18:31:32 +03:00
parent adcbdd7da4
commit 2435ffd1c6

View File

@@ -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