mbed library sources, with proposed I2C for Seed Arch BLE - not working -

Dependents:   Seeed_Barometer_Sensor_Example

Fork of mbed-src by mbed official

Revision:
49:a1af374b4197
Parent:
41:e8b66477f5bf
Child:
212:34d62c0b2af6
--- a/common/CAN.cpp	Thu Nov 21 10:45:04 2013 +0000
+++ b/common/CAN.cpp	Thu Nov 21 16:45:05 2013 +0000
@@ -27,8 +27,8 @@
 }
 
 CAN::~CAN() {
+    can_irq_free(&_can);
     can_free(&_can);
-    can_irq_free(&_can);
 }
 
 int CAN::frequency(int f) {