M487: Fix UART 6/7 base address encoding

Fix UART 6/7 base addresses are incorrectly encoded into peripheral names
pull/15200/head
Chun-Chieh Li 2022-01-07 16:39:59 +08:00
parent 149c5b12fa
commit 926cda5e8f
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ typedef enum {
UART_3 = (int) NU_MODNAME(UART3_BASE, 3, 0),
UART_4 = (int) NU_MODNAME(UART4_BASE, 4, 0),
UART_5 = (int) NU_MODNAME(UART5_BASE, 5, 0),
UART_6 = (int) NU_MODNAME(UART5_BASE, 6, 0),
UART_7 = (int) NU_MODNAME(UART5_BASE, 7, 0),
UART_6 = (int) NU_MODNAME(UART6_BASE, 6, 0),
UART_7 = (int) NU_MODNAME(UART7_BASE, 7, 0),
// NOTE: board-specific
#if defined(MBED_CONF_TARGET_USB_UART)
USB_UART = MBED_CONF_TARGET_USB_UART,