update IOC & regenerate
This commit is contained in:
@ -794,7 +794,8 @@ ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx)
|
||||
while (( LL_ADC_REG_IsStopConversionOngoing(ADCx)
|
||||
| LL_ADC_INJ_IsStopConversionOngoing(ADCx)) == 1U)
|
||||
{
|
||||
if(timeout_cpu_cycles-- == 0U)
|
||||
timeout_cpu_cycles--;
|
||||
if(timeout_cpu_cycles == 0U)
|
||||
{
|
||||
/* Time-out error */
|
||||
status = ERROR;
|
||||
@ -813,7 +814,8 @@ ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx)
|
||||
timeout_cpu_cycles = ADC_TIMEOUT_DISABLE_CPU_CYCLES;
|
||||
while (LL_ADC_IsDisableOngoing(ADCx) == 1U)
|
||||
{
|
||||
if(timeout_cpu_cycles-- == 0U)
|
||||
timeout_cpu_cycles--;
|
||||
if(timeout_cpu_cycles == 0U)
|
||||
{
|
||||
/* Time-out error */
|
||||
status = ERROR;
|
||||
|
||||
Reference in New Issue
Block a user