summaryrefslogtreecommitdiff
path: root/ports/stm32/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/timer.c')
-rw-r--r--ports/stm32/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/timer.c b/ports/stm32/timer.c
index 491221ec2..c6f3d21f8 100644
--- a/ports/stm32/timer.c
+++ b/ports/stm32/timer.c
@@ -805,7 +805,7 @@ STATIC const uint32_t tim_instance_table[MICROPY_HW_MAX_TIMER] = {
TIM_ENTRY(1, TIM1_UP_TIM10_IRQn),
#elif defined(STM32H7)
TIM_ENTRY(1, TIM1_UP_IRQn),
- #elif defined(STM32L4)
+ #elif defined(STM32L4) || defined(STM32WB)
TIM_ENTRY(1, TIM1_UP_TIM16_IRQn),
#endif
#endif