mbed library sources
Dependents: STM32F103C8T6-RangoTec STM32-103C8_Plantilla_USB
Diff: common/CAN.cpp
- Revision:
- 49:a1af374b4197
- Parent:
- 41:e8b66477f5bf
- Child:
- 212:34d62c0b2af6
diff -r 40454ec5d50d -r a1af374b4197 common/CAN.cpp --- 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) {