mbed library sources

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
41:e8b66477f5bf
Child:
213:cc557cb04877
diff -r fb8edfff6ae1 -r 34d62c0b2af6 api/can_helper.h
--- a/api/can_helper.h	Sun May 25 08:00:07 2014 +0100
+++ b/api/can_helper.h	Mon May 26 18:15:07 2014 +0100
@@ -41,6 +41,9 @@
     unsigned char  len;                // Length of data field in bytes
     CANFormat      format;             // 0 - STANDARD, 1- EXTENDED IDENTIFIER
     CANType        type;               // 0 - DATA FRAME, 1 - REMOTE FRAME
+
+    virtual ~CAN_Message() {
+    }
 };
 typedef struct CAN_Message CAN_Message;