mirror of https://github.com/ARMmbed/mbed-os.git
TARGET_NRF5 - Explicitaly convert objects uint32_t to object of type PinName.
parent
6cdfb19304
commit
039584332e
|
|
@ -310,7 +310,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx) {
|
|||
nrf_uart_configure(UART_INSTANCE, UART_CB.parity, UART_CB.hwfc);
|
||||
if (UART_CB.hwfc == NRF_UART_HWFC_ENABLED) {
|
||||
serial_set_flow_control(obj, FlowControlRTSCTS,
|
||||
UART_CB.pselrts, UART_CB.pselcts);
|
||||
(PinName) UART_CB.pselrts, (PinName) UART_CB.pselcts);
|
||||
}
|
||||
nrf_uart_enable(UART_INSTANCE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue