Skip to content

Commit 70fd0ce

Browse files
authored
Merge pull request #15200 from OpenNuvoton/nuvoton_m487_fix-uart67-base
M487: Fix UART 6/7 base address encoding
2 parents 149c5b1 + 926cda5 commit 70fd0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M480/PeripheralNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ typedef enum {
101101
UART_3 = (int) NU_MODNAME(UART3_BASE, 3, 0),
102102
UART_4 = (int) NU_MODNAME(UART4_BASE, 4, 0),
103103
UART_5 = (int) NU_MODNAME(UART5_BASE, 5, 0),
104-
UART_6 = (int) NU_MODNAME(UART5_BASE, 6, 0),
105-
UART_7 = (int) NU_MODNAME(UART5_BASE, 7, 0),
104+
UART_6 = (int) NU_MODNAME(UART6_BASE, 6, 0),
105+
UART_7 = (int) NU_MODNAME(UART7_BASE, 7, 0),
106106
// NOTE: board-specific
107107
#if defined(MBED_CONF_TARGET_USB_UART)
108108
USB_UART = MBED_CONF_TARGET_USB_UART,

0 commit comments

Comments
 (0)