We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd14e2 commit 4f9bdf5Copy full SHA for 4f9bdf5
targets/TARGET_STM/TARGET_STM32F3/serial_api.c
@@ -578,14 +578,14 @@ static IRQn_Type serial_get_irq_n(serial_t *obj)
578
irq_n = USART3_IRQn;
579
break;
580
#endif
581
-#if defined(USART4_BASE)
+#if defined(UART4_BASE)
582
case 3:
583
- irq_n = USART4_IRQn;
+ irq_n = UART4_IRQn;
584
585
586
-#if defined(USART5_BASE)
+#if defined(UART5_BASE)
587
case 4:
588
- irq_n = USART5_IRQn;
+ irq_n = UART5_IRQn;
589
590
591
default:
0 commit comments