mirror of https://github.com/ARMmbed/mbed-os.git
Fix PinMap_UART_XX
parent
1a182df19f
commit
ef9c2721a0
|
@ -87,7 +87,7 @@ typedef enum {
|
|||
LED3 = PA4,
|
||||
|
||||
/* Not connected */
|
||||
NC = -1u,
|
||||
NC = (int)0xFFFFFFFF
|
||||
} PinName;
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -26,12 +26,14 @@
|
|||
|
||||
const PinMap PinMap_UART_TX[] = {
|
||||
{UART0_TX, UART_0, ALTERNATE_FUNC_1},
|
||||
{UART1_TX, UART_1, PRIMARY_FUNC}
|
||||
{UART1_TX, UART_1, PRIMARY_FUNC},
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
||||
const PinMap PinMap_UART_RX[] = {
|
||||
{UART0_RX, UART_0, ALTERNATE_FUNC_1},
|
||||
{UART1_RX, UART_1, PRIMARY_FUNC}
|
||||
{UART1_RX, UART_1, PRIMARY_FUNC},
|
||||
{NC, NC, 0}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue