Skip to content

Commit 632b2f1

Browse files
committed
Updated wrongly defined UART3_BASE into USART3_BASE
1 parent 66a1967 commit 632b2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32L4/serial_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ static IRQn_Type serial_get_irq_n(serial_t *obj)
491491
irq_n = USART2_IRQn;
492492
break;
493493

494-
#if defined(UART3_BASE)
494+
#if defined(USART3_BASE)
495495
case 2:
496496
irq_n = USART3_IRQn;
497497
break;

0 commit comments

Comments
 (0)