Fork of the MODSERIAL library by Erik Olieman.
Fork of MODSERIAL by
Diff: INIT.cpp
- Revision:
- 35:9a41078f0488
- Parent:
- 34:76793a84f9e5
- Child:
- 36:b04ce87dc424
--- 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;