Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Revision:
85:024bf7f99721
Parent:
75:dc225afb6914
Child:
98:8ab26030e058
--- a/SerialBase.h	Mon May 19 18:14:09 2014 +0100
+++ b/SerialBase.h	Wed Jun 11 15:14:05 2014 +0100
@@ -106,11 +106,11 @@
     /** Generate a break condition on the serial line
      */
     void send_break();
-    
+
 #if DEVICE_SERIAL_FC
     /** Set the flow control type on the serial port
      *
-     *  @param type the flow control type (Disabled, RTS, CTS, RTSCTS)     
+     *  @param type the flow control type (Disabled, RTS, CTS, RTSCTS)
      *  @param flow1 the first flow control pin (RTS for RTS or RTSCTS, CTS for CTS)
      *  @param flow2 the second flow control pin (CTS for RTSCTS)
      */
@@ -121,7 +121,9 @@
 
 protected:
     SerialBase(PinName tx, PinName rx);
- 
+    virtual ~SerialBase() {
+    }
+
     int _base_getc();
     int _base_putc(int c);