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.
Dependents: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: api/CAN.h
- Revision:
- 147:30b64687e01f
- Parent:
- 144:ef7eb2e8f9f7
--- a/api/CAN.h Thu Sep 08 15:05:30 2016 +0100
+++ b/api/CAN.h Fri Sep 16 16:24:25 2016 +0100
@@ -203,7 +203,9 @@
EpIrq,
AlIrq,
BeIrq,
- IdIrq
+ IdIrq,
+
+ IrqCnt
};
/** Attach a function to call whenever a CAN frame received interrupt is
@@ -246,7 +248,7 @@
virtual void lock();
virtual void unlock();
can_t _can;
- Callback<void()> _irq[9];
+ Callback<void()> _irq[IrqCnt];
PlatformMutex _mutex;
};
