mirror of https://github.com/ARMmbed/mbed-os.git
FVP_MPS2: Fix serial_init when FC is not used
After adding DEVICE_SERIAL_FC guards to serial_api.h serial_set_flow_control is not available. In case of this implementation, this function is a no-op and may be safely removed.pull/10994/head
parent
ed41994a3a
commit
86149e59d6
|
|
@ -153,7 +153,6 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
|
|||
}
|
||||
uart_data[obj->index].sw_rts.pin = NC;
|
||||
uart_data[obj->index].sw_cts.pin = NC;
|
||||
serial_set_flow_control(obj, FlowControlNone, NC, NC);
|
||||
|
||||
is_stdio_uart = (uart == STDIO_UART) ? (1) : (0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue