mbed w/ spi bug fig

Dependents:   display-puck

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
41:e8b66477f5bf
Child:
213:cc557cb04877
--- 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;