Blink, remove compiler errors

Dependents:   STM32F031_Blink_Aug17

Fork of mbed-STM32F030F4 by Nothing Special

Files at this revision

API Documentation at this revision

Comitter:
stupidcode
Date:
Sun Aug 27 18:32:02 2017 +0000
Parent:
7:142dbb554b83
Commit message:
Blink;

Changed in this revision

common/SerialBase.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/common/SerialBase.cpp	Wed Nov 19 16:28:35 2014 +0000
+++ b/common/SerialBase.cpp	Sun Aug 27 18:32:02 2017 +0000
@@ -81,25 +81,28 @@
 }
 
 #if DEVICE_SERIAL_FC
-void SerialBase::set_flow_control(Flow type, PinName flow1, PinName flow2) {
+void SerialBase::set_flow_control(Flow type, PinName flow1, PinName flow2) { 
+    
     FlowControl flow_type = (FlowControl)type;
+    
     switch(type) {
         case RTS:
-            serial_set_flow_control(&_serial, flow_type, flow1, NC);
+            //serial_set_flow_control(&_serial, flow_type, flow1, NC);
             break;
 
         case CTS:
-            serial_set_flow_control(&_serial, flow_type, NC, flow1);
+            //serial_set_flow_control(&_serial, flow_type, NC, flow1);
             break;
 
         case RTSCTS:
         case Disabled:
-            serial_set_flow_control(&_serial, flow_type, flow1, flow2);
+            //serial_set_flow_control(&_serial, flow_type, flow1, flow2);
             break;
 
         default:
             break;
-    }
+     
+     }
 }
 #endif