summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/stm32/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c
index 4b786d4c4c..77e0ba2668 100644
--- a/chip/stm32/uart.c
+++ b/chip/stm32/uart.c
@@ -110,7 +110,7 @@ static void uart_interrupt(void)
if (!should_stop)
STM32_USART_CR1(UARTN) |= 0x80;
}
-DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 1);
+DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 2);
int uart_init(void)
{