Skip to content

Commit ddaef68

Browse files
Correctly allow TIM2 interrupts for STM32L432/STM32L433
1 parent dee9ccf commit ddaef68

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
396 Bytes
Binary file not shown.
396 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

system/STM32L4xx/Source/stm32l4_timer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,13 +732,13 @@ void TIM1_CC_IRQHandler(void)
732732
stm32l4_timer_interrupt(stm32l4_timer_driver.instances[TIMER_INSTANCE_TIM1]);
733733
}
734734

735-
#if defined(STM32L476xx)
736-
737735
void TIM2_IRQHandler(void)
738736
{
739737
stm32l4_timer_interrupt(stm32l4_timer_driver.instances[TIMER_INSTANCE_TIM2]);
740738
}
741739

740+
#if defined(STM32L476xx)
741+
742742
void TIM3_IRQHandler(void)
743743
{
744744
stm32l4_timer_interrupt(stm32l4_timer_driver.instances[TIMER_INSTANCE_TIM3]);

0 commit comments

Comments
 (0)