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/SerialBase.h
- Revision:
- 147:30b64687e01f
- Parent:
- 144:ef7eb2e8f9f7
--- a/api/SerialBase.h Thu Sep 08 15:05:30 2016 +0100
+++ b/api/SerialBase.h Fri Sep 16 16:24:25 2016 +0100
@@ -55,7 +55,9 @@
enum IrqType {
RxIrq = 0,
- TxIrq
+ TxIrq,
+
+ IrqCnt
};
enum Flow {
@@ -231,7 +233,7 @@
#endif
serial_t _serial;
- Callback<void()> _irq[2];
+ Callback<void()> _irq[IrqCnt];
int _baud;
};
