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: Autoflight2018_22_MODSERIAL
Fork of MODSERIAL by
Diff: INIT.cpp
- Revision:
- 29:9a41078f0488
- Parent:
- 28:76793a84f9e5
- Child:
- 30:b04ce87dc424
diff -r 76793a84f9e5 -r 9a41078f0488 INIT.cpp
--- a/INIT.cpp Fri Jul 12 15:27:07 2013 +0000
+++ b/INIT.cpp Fri Jul 12 15:56:20 2013 +0000
@@ -36,9 +36,10 @@
void
MODSERIAL::init( int txSize, int rxSize, PinName rx )
{
+
NVIC_DisableIRQ(_IRQ);
setBase();
-
+
callbackInfo.setSerial(this);
dmaSendChannel = -1;
