aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/traceswo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/traceswo.c')
-rw-r--r--src/stm32/traceswo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/traceswo.c b/src/stm32/traceswo.c
index 0451210..926a057 100644
--- a/src/stm32/traceswo.c
+++ b/src/stm32/traceswo.c
@@ -68,7 +68,7 @@ void traceswo_init(void)
timer_slave_set_mode(TIM3, TIM_SMCR_SMS_RM);
/* Enable capture interrupt */
- nvic_set_priority(NVIC_TIM3_IRQ, 0);
+ nvic_set_priority(NVIC_TIM3_IRQ, IRQ_PRI_TIM3);
nvic_enable_irq(NVIC_TIM3_IRQ);
timer_enable_irq(TIM3, TIM_DIER_CC1IE);