We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1930dc commit c42bb71Copy full SHA for c42bb71
drivers/interrupt_controller/intc_gpio_stm32.c
@@ -100,7 +100,6 @@ static void stm32_intc_gpio_isr(const void *exti_range)
100
/* see which bits are set */
101
for (uint8_t i = 0; i <= range->len; i++) {
102
line_num = range->start + i;
103
- line = exti_linenum_to_ll_exti_line(line_num);
104
105
/* check if interrupt is pending */
106
if (stm32_exti_is_pending(line_num) != 0) {
@@ -113,6 +112,7 @@ static void stm32_intc_gpio_isr(const void *exti_range)
113
112
}
114
115
/* `line` can be passed as-is because LL_EXTI_LINE_n is (1 << n) */
+ line = exti_linenum_to_ll_exti_line(line_num);
116
data->cb[line_num].cb(line, data->cb[line_num].data);
117
118
0 commit comments