Fixed LPC11U68 flow control issue

pull/309/head
Bogdan Marinescu 2014-05-15 17:12:28 +01:00
parent 6bc9b93a40
commit 4d4ac9cd81
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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