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:
212:34d62c0b2af6
Parent:
49:a1af374b4197
diff -r fb8edfff6ae1 -r 34d62c0b2af6 common/CAN.cpp
--- a/common/CAN.cpp	Sun May 25 08:00:07 2014 +0100
+++ b/common/CAN.cpp	Mon May 26 18:15:07 2014 +0100
@@ -21,7 +21,7 @@
 
 namespace mbed {
 
-CAN::CAN(PinName rd, PinName td) {
+CAN::CAN(PinName rd, PinName td) : _can(), _irq() {
     can_init(&_can, rd, td);
     can_irq_init(&_can, (&CAN::_irq_handler), (uint32_t)this);
 }