mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
fix(esp_adc): Release the peripheral after calibration
This commit is contained in:
committed by
gaoxu
parent
575007a244
commit
704a4fd610
@@ -74,5 +74,6 @@ static __attribute__((constructor)) void adc_hw_calibration(void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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