forked from espressif/esp-idf
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();
|
ANALOG_CLOCK_DISABLE();
|
||||||
|
adc_apb_periph_free();
|
||||||
}
|
}
|
||||||
#endif //#if SOC_ADC_CALIBRATION_V1_SUPPORTED
|
#endif //#if SOC_ADC_CALIBRATION_V1_SUPPORTED
|
||||||
|
Reference in New Issue
Block a user