Skip to content

Commit

Permalink
drivers: interrupt_controller: stm32: Missing break statement
Browse files Browse the repository at this point in the history
Fix missing break statement is missing in switch/case.

Fixes #22646

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information
erwango authored and galak committed Feb 12, 2020
1 parent f6ad123 commit d4f08c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/interrupt_controller/intc_exti_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ void stm32_exti_trigger(int line, int trigger)
case STM32_EXTI_TRIG_BOTH:
LL_EXTI_EnableRisingTrig_0_31(1 << line);
LL_EXTI_EnableFallingTrig_0_31(1 << line);
break;
default:
__ASSERT_NO_MSG(trigger);
}
Expand Down

0 comments on commit d4f08c3

Please sign in to comment.