mirror of https://github.com/ARMmbed/mbed-os.git
Add serial_tx_pinmap() and serial_rx_pinmap() to serial_api.c
parent
c83ef8a444
commit
1a182df19f
|
@ -310,3 +310,13 @@ void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow,
|
|||
{
|
||||
error("serial_set_flow_control: Flow control is not supported in MUSCA");
|
||||
}
|
||||
|
||||
const PinMap *serial_tx_pinmap()
|
||||
{
|
||||
return PinMap_UART_TX;
|
||||
}
|
||||
|
||||
const PinMap *serial_rx_pinmap()
|
||||
{
|
||||
return PinMap_UART_RX;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue