mbed library sources. Supersedes mbed-src. RTC working even after reset
Fork of mbed-dev by
Diff: api/CAN.h
- Revision:
- 147:30b64687e01f
- Parent:
- 144:ef7eb2e8f9f7
diff -r 11f9a9a04805 -r 30b64687e01f api/CAN.h --- 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; };