Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 49:a1af374b4197, committed 2013-11-21
- Comitter:
- mbed_official
- Date:
- Thu Nov 21 16:45:05 2013 +0000
- Parent:
- 48:40454ec5d50d
- Child:
- 50:b08ceb75017d
- Commit message:
- Synchronized with git revision 64952d4f7eba2fb44b86ba5e727da2ef03d5710d
Full URL: https://github.com/mbedmicro/mbed/commit/64952d4f7eba2fb44b86ba5e727da2ef03d5710d/
Avoid hardfault when CAN object is destructed.
Changed in this revision
| common/CAN.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {
