Lancaster University's (short term!) clone of mbed-src for micro:bit. This is a copy of the github branch https://github.com/lancaster-university/mbed-classic

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) {