Skip to content

Commit 4d4ac9c

Browse files
author
Bogdan Marinescu
committed
Fixed LPC11U68 flow control issue
1 parent 6bc9b93 commit 4d4ac9c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libraries/mbed/common/SerialBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void SerialBase::send_break() {
8181
serial_break_clear(&_serial);
8282
}
8383

84-
#ifdef DEVICE_SERIAL_FC
84+
#if DEVICE_SERIAL_FC
8585
void SerialBase::set_flow_control(Flow type, PinName flow1, PinName flow2) {
8686
FlowControl flow_type = (FlowControl)type;
8787
switch(type) {

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11U6X/device.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#define DEVICE_ANALOGOUT 0
2727

2828
#define DEVICE_SERIAL 1
29-
#define DEVICE_SERIAL_FC 1
3029

3130
#define DEVICE_I2C 1
3231
#define DEVICE_I2CSLAVE 1

0 commit comments

Comments
 (0)