mirror of https://github.com/ARMmbed/mbed-os.git
Fixed LPC11U68 flow control issue
parent
6bc9b93a40
commit
4d4ac9cd81
|
@ -81,7 +81,7 @@ void SerialBase::send_break() {
|
|||
serial_break_clear(&_serial);
|
||||
}
|
||||
|
||||
#ifdef DEVICE_SERIAL_FC
|
||||
#if DEVICE_SERIAL_FC
|
||||
void SerialBase::set_flow_control(Flow type, PinName flow1, PinName flow2) {
|
||||
FlowControl flow_type = (FlowControl)type;
|
||||
switch(type) {
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define DEVICE_ANALOGOUT 0
|
||||
|
||||
#define DEVICE_SERIAL 1
|
||||
#define DEVICE_SERIAL_FC 1
|
||||
|
||||
#define DEVICE_I2C 1
|
||||
#define DEVICE_I2CSLAVE 1
|
||||
|
|
Loading…
Reference in New Issue