Skip to content

Commit d3a2029

Browse files
rgallaispouSTMerwango
authored andcommitted
stm32cube: stm32f4/f7/h7/l4/l5/mp13/mp1: Fix HAL_DFSDM_IRQHandler
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition. This causes interrupts to be handled once and only the first flag enccountered in the condition, while there can be several flags raised. Fix this issue and add a patch entry. Internal bug report number is #HAL1-27454 Signed-off-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com>
1 parent ff0f1fa commit d3a2029

14 files changed

Lines changed: 101 additions & 44 deletions

File tree

stm32cube/stm32f4xx/README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,13 @@ Patch List:
6060
Impacted files:
6161
drivers/include/stm32f4xx_ll_fsmc.h
6262
ST Internal Reference: 223859
63+
64+
*Fix HAL_DFSDM_IRQHandler
65+
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition.
66+
This causes interrupts to be handled once and only the first flag
67+
encountered in the condition, while there can be several flags raised.
68+
Impacted files:
69+
drivers/src/stm32f7xx_hal_dfsdm.c
70+
ST Internal Reference: HAL1-27454
71+
6372
See release_note.html from STM32Cube

stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_dfsdm.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3334,7 +3334,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
33343334
#endif
33353335
}
33363336
/* Check if overrun occurs during injected conversion */
3337-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JOVRF) != 0U) && \
3337+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JOVRF) != 0U) && \
33383338
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_JOVRIE) != 0U))
33393339
{
33403340
/* Clear injected overrun flag */
@@ -3351,7 +3351,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
33513351
#endif
33523352
}
33533353
/* Check if end of regular conversion */
3354-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_REOCF) != 0U) && \
3354+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_REOCF) != 0U) && \
33553355
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_REOCIE) != 0U))
33563356
{
33573357
/* Call regular conversion complete callback */
@@ -3374,7 +3374,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
33743374
}
33753375
}
33763376
/* Check if end of injected conversion */
3377-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JEOCF) != 0U) && \
3377+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JEOCF) != 0U) && \
33783378
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_JEOCIE) != 0U))
33793379
{
33803380
/* Call injected conversion complete callback */
@@ -3404,7 +3404,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
34043404
}
34053405
}
34063406
/* Check if analog watchdog occurs */
3407-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_AWDF) != 0U) && \
3407+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_AWDF) != 0U) && \
34083408
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_AWDIE) != 0U))
34093409
{
34103410
uint32_t reg = 0U;
@@ -3436,7 +3436,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
34363436
#endif
34373437
}
34383438
/* Check if clock absence occurs */
3439-
else if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3439+
if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
34403440
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_CKABF) != 0U) && \
34413441
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_CKABIE) != 0U))
34423442
{
@@ -3470,7 +3470,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
34703470
}
34713471
#if defined (DFSDM2_Channel0)
34723472
/* Check if clock absence occurs */
3473-
else if((hdfsdm_filter->Instance == DFSDM2_Filter0) && \
3473+
if((hdfsdm_filter->Instance == DFSDM2_Filter0) && \
34743474
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_CKABF) != 0U) && \
34753475
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_CKABIE) != 0U))
34763476
{
@@ -3504,7 +3504,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
35043504
}
35053505
#endif /* DFSDM2_Channel0 */
35063506
/* Check if short circuit detection occurs */
3507-
else if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3507+
if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
35083508
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_SCDF) != 0U) && \
35093509
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_SCDIE) != 0U))
35103510
{
@@ -3531,7 +3531,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
35313531
}
35323532
#if defined (DFSDM2_Channel0)
35333533
/* Check if short circuit detection occurs */
3534-
else if((hdfsdm_filter->Instance == DFSDM2_Filter0) && \
3534+
if((hdfsdm_filter->Instance == DFSDM2_Filter0) && \
35353535
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_SCDF) != 0U) && \
35363536
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_SCDIE) != 0U))
35373537
{

stm32cube/stm32f7xx/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ Patch List:
5555
Impacted files:
5656
drivers/include/Legacy/stm32_hal_legacy.h
5757

58+
*Fix HAL_DFSDM_IRQHandler
59+
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition.
60+
This causes interrupts to be handled once and only the first flag
61+
encountered in the condition, while there can be several flags raised.
62+
Impacted files:
63+
drivers/src/stm32f7xx_hal_dfsdm.c
64+
ST Internal Reference: HAL1-27454
65+
5866
See release_note.html from STM32Cube

stm32cube/stm32f7xx/drivers/src/stm32f7xx_hal_dfsdm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2897,7 +2897,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
28972897
#endif
28982898
}
28992899
/* Check if overrun occurs during injected conversion */
2900-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JOVRF) != 0) && \
2900+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JOVRF) != 0) && \
29012901
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_JOVRIE) != 0))
29022902
{
29032903
/* Clear injected overrun flag */
@@ -2914,7 +2914,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29142914
#endif
29152915
}
29162916
/* Check if end of regular conversion */
2917-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_REOCF) != 0) && \
2917+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_REOCF) != 0) && \
29182918
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_REOCIE) != 0))
29192919
{
29202920
/* Call regular conversion complete callback */
@@ -2937,7 +2937,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29372937
}
29382938
}
29392939
/* Check if end of injected conversion */
2940-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JEOCF) != 0) && \
2940+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_JEOCF) != 0) && \
29412941
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_JEOCIE) != 0))
29422942
{
29432943
/* Call injected conversion complete callback */
@@ -2967,7 +2967,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29672967
}
29682968
}
29692969
/* Check if analog watchdog occurs */
2970-
else if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_AWDF) != 0) && \
2970+
if(((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_AWDF) != 0) && \
29712971
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_AWDIE) != 0))
29722972
{
29732973
uint32_t reg = 0;
@@ -2999,7 +2999,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29992999
#endif
30003000
}
30013001
/* Check if clock absence occurs */
3002-
else if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3002+
if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30033003
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_CKABF) != 0) && \
30043004
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_CKABIE) != 0))
30053005
{
@@ -3032,7 +3032,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
30323032
}
30333033
}
30343034
/* Check if short circuit detection occurs */
3035-
else if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3035+
if((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30363036
((hdfsdm_filter->Instance->FLTISR & DFSDM_FLTISR_SCDF) != 0) && \
30373037
((hdfsdm_filter->Instance->FLTCR2 & DFSDM_FLTCR2_SCDIE) != 0))
30383038
{

stm32cube/stm32h7xx/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,12 @@ Patch List:
8080
Impacted files:
8181
stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_ospi.c
8282

83+
*Fix HAL_DFSDM_IRQHandler
84+
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition.
85+
This causes interrupts to be handled once and only the first flag
86+
encountered in the condition, while there can be several flags raised.
87+
Impacted files:
88+
drivers/src/stm32f7xx_hal_dfsdm.c
89+
ST Internal Reference: HAL1-27454
90+
8391
See release_note.html from STM32Cube

stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_dfsdm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,7 +3129,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
31293129
#endif
31303130
}
31313131
/* Check if overrun occurs during injected conversion */
3132-
else if(((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
3132+
if(((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
31333133
((temp_fltcr2 & DFSDM_FLTCR2_JOVRIE) != 0U))
31343134
{
31353135
/* Clear injected overrun flag */
@@ -3146,7 +3146,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
31463146
#endif
31473147
}
31483148
/* Check if end of regular conversion */
3149-
else if(((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
3149+
if(((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
31503150
((temp_fltcr2 & DFSDM_FLTCR2_REOCIE) != 0U))
31513151
{
31523152
/* Call regular conversion complete callback */
@@ -3169,7 +3169,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
31693169
}
31703170
}
31713171
/* Check if end of injected conversion */
3172-
else if(((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
3172+
if(((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
31733173
((temp_fltcr2 & DFSDM_FLTCR2_JEOCIE) != 0U))
31743174
{
31753175
/* Call injected conversion complete callback */
@@ -3199,7 +3199,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
31993199
}
32003200
}
32013201
/* Check if analog watchdog occurs */
3202-
else if(((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
3202+
if(((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
32033203
((temp_fltcr2 & DFSDM_FLTCR2_AWDIE) != 0U))
32043204
{
32053205
uint32_t reg;
@@ -3231,7 +3231,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
32313231
#endif
32323232
}
32333233
/* Check if clock absence occurs */
3234-
else if((hdfsdm_filter->Instance == filter0Instance) && \
3234+
if((hdfsdm_filter->Instance == filter0Instance) && \
32353235
((temp_fltisr & DFSDM_FLTISR_CKABF) != 0U) && \
32363236
((temp_fltcr2 & DFSDM_FLTCR2_CKABIE) != 0U))
32373237
{
@@ -3264,7 +3264,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
32643264
}
32653265
}
32663266
/* Check if short circuit detection occurs */
3267-
else if((hdfsdm_filter->Instance == filter0Instance) && \
3267+
if((hdfsdm_filter->Instance == filter0Instance) && \
32683268
((temp_fltisr & DFSDM_FLTISR_SCDF) != 0U) && \
32693269
((temp_fltcr2 & DFSDM_FLTCR2_SCDIE) != 0U))
32703270
{

stm32cube/stm32l4xx/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,12 @@ Patch List:
4848
Impacted files:
4949
drivers/include/Legacy/stm32_hal_legacy.h
5050

51+
*Fix HAL_DFSDM_IRQHandler
52+
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition.
53+
This causes interrupts to be handled once and only the first flag
54+
encountered in the condition, while there can be several flags raised.
55+
Impacted files:
56+
drivers/src/stm32f7xx_hal_dfsdm.c
57+
ST Internal Reference: HAL1-27454
58+
5159
See release_note.html from STM32Cube

stm32cube/stm32l4xx/drivers/src/stm32l4xx_hal_dfsdm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2913,7 +2913,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29132913
#endif
29142914
}
29152915
/* Check if overrun occurs during injected conversion */
2916-
else if (((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
2916+
if (((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
29172917
((temp_fltcr2 & DFSDM_FLTCR2_JOVRIE) != 0U))
29182918
{
29192919
/* Clear injected overrun flag */
@@ -2930,7 +2930,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29302930
#endif
29312931
}
29322932
/* Check if end of regular conversion */
2933-
else if (((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
2933+
if (((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
29342934
((temp_fltcr2 & DFSDM_FLTCR2_REOCIE) != 0U))
29352935
{
29362936
/* Call regular conversion complete callback */
@@ -2953,7 +2953,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29532953
}
29542954
}
29552955
/* Check if end of injected conversion */
2956-
else if (((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
2956+
if (((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
29572957
((temp_fltcr2 & DFSDM_FLTCR2_JEOCIE) != 0U))
29582958
{
29592959
/* Call injected conversion complete callback */
@@ -2983,7 +2983,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29832983
}
29842984
}
29852985
/* Check if analog watchdog occurs */
2986-
else if (((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
2986+
if (((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
29872987
((temp_fltcr2 & DFSDM_FLTCR2_AWDIE) != 0U))
29882988
{
29892989
uint32_t reg;
@@ -3015,7 +3015,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
30153015
#endif
30163016
}
30173017
/* Check if clock absence occurs */
3018-
else if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3018+
if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30193019
((temp_fltisr & DFSDM_FLTISR_CKABF) != 0U) && \
30203020
((temp_fltcr2 & DFSDM_FLTCR2_CKABIE) != 0U))
30213021
{
@@ -3048,7 +3048,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
30483048
}
30493049
}
30503050
/* Check if short circuit detection occurs */
3051-
else if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3051+
if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30523052
((temp_fltisr & DFSDM_FLTISR_SCDF) != 0U) && \
30533053
((temp_fltcr2 & DFSDM_FLTCR2_SCDIE) != 0U))
30543054
{

stm32cube/stm32l5xx/README

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,12 @@ Patch List:
4747
Impacted files:
4848
drivers/include/Legacy/stm32_hal_legacy.h
4949

50+
*Fix HAL_DFSDM_IRQHandler
51+
HAL_DFSDM_IRQHandler handles IRQ flags in an if {} else if {} condition.
52+
This causes interrupts to be handled once and only the first flag
53+
encountered in the condition, while there can be several flags raised.
54+
Impacted files:
55+
drivers/src/stm32f7xx_hal_dfsdm.c
56+
ST Internal Reference: HAL1-27454
57+
5058
See release_note.html from STM32Cube

stm32cube/stm32l5xx/drivers/src/stm32l5xx_hal_dfsdm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,7 +2901,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29012901
#endif
29022902
}
29032903
/* Check if overrun occurs during injected conversion */
2904-
else if (((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
2904+
if (((temp_fltisr & DFSDM_FLTISR_JOVRF) != 0U) && \
29052905
((temp_fltcr2 & DFSDM_FLTCR2_JOVRIE) != 0U))
29062906
{
29072907
/* Clear injected overrun flag */
@@ -2918,7 +2918,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29182918
#endif
29192919
}
29202920
/* Check if end of regular conversion */
2921-
else if (((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
2921+
if (((temp_fltisr & DFSDM_FLTISR_REOCF) != 0U) && \
29222922
((temp_fltcr2 & DFSDM_FLTCR2_REOCIE) != 0U))
29232923
{
29242924
/* Call regular conversion complete callback */
@@ -2941,7 +2941,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29412941
}
29422942
}
29432943
/* Check if end of injected conversion */
2944-
else if (((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
2944+
if (((temp_fltisr & DFSDM_FLTISR_JEOCF) != 0U) && \
29452945
((temp_fltcr2 & DFSDM_FLTCR2_JEOCIE) != 0U))
29462946
{
29472947
/* Call injected conversion complete callback */
@@ -2971,7 +2971,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
29712971
}
29722972
}
29732973
/* Check if analog watchdog occurs */
2974-
else if (((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
2974+
if (((temp_fltisr & DFSDM_FLTISR_AWDF) != 0U) && \
29752975
((temp_fltcr2 & DFSDM_FLTCR2_AWDIE) != 0U))
29762976
{
29772977
uint32_t reg;
@@ -3003,7 +3003,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
30033003
#endif
30043004
}
30053005
/* Check if clock absence occurs */
3006-
else if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3006+
if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30073007
((temp_fltisr & DFSDM_FLTISR_CKABF) != 0U) && \
30083008
((temp_fltcr2 & DFSDM_FLTCR2_CKABIE) != 0U))
30093009
{
@@ -3036,7 +3036,7 @@ void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
30363036
}
30373037
}
30383038
/* Check if short circuit detection occurs */
3039-
else if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
3039+
if ((hdfsdm_filter->Instance == DFSDM1_Filter0) && \
30403040
((temp_fltisr & DFSDM_FLTISR_SCDF) != 0U) && \
30413041
((temp_fltcr2 & DFSDM_FLTCR2_SCDIE) != 0U))
30423042
{

0 commit comments

Comments
 (0)