aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/traceswo.c
diff options
context:
space:
mode:
authorGareth McMullin2012-05-26 20:57:47 +1200
committerGareth McMullin2012-05-26 20:57:47 +1200
commit3dcdc5b26f769ce9131b8a476d8dbe8992f1284e (patch)
tree367e23f7d301fd9e4eec9ae93a41c1546a63489f /src/stm32/traceswo.c
parentb98d01dff89918a6fbab06127b30f47ee7827780 (diff)
Improve USB UART handling. Fix interrupt priorities.
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);