commit | 1c14d36d88722f9cd7ed48d842b5ad07330008c7 | [log] [tgz] |
---|---|---|
author | karim <karim.rabhi-ext@st.com> | Fri Aug 02 14:26:56 2024 +0100 |
committer | karim <karim.rabhi-ext@st.com> | Fri Aug 02 14:26:56 2024 +0100 |
tree | df9deb703b2bdda3abb8097a722a1836ff69f58f | |
parent | 2fa0a85577818c1d134ee1b9282ad27377bf05bf [diff] |
[LL][ADC] Update LL_ADC_DeInit() API to avoid the infinite loop in case of timeout
diff --git a/Src/stm32f0xx_ll_adc.c b/Src/stm32f0xx_ll_adc.c index 95a9647..900514c 100644 --- a/Src/stm32f0xx_ll_adc.c +++ b/Src/stm32f0xx_ll_adc.c
@@ -242,6 +242,7 @@ { /* Time-out error */ status = ERROR; + break; } }