MODSERIAL with support for more devices
Fork of MODSERIAL by
Diff: INIT.cpp
- Revision:
- 30:b04ce87dc424
- Parent:
- 29:9a41078f0488
- Child:
- 44:a3b2bc878529
--- a/INIT.cpp Fri Jul 12 15:56:20 2013 +0000 +++ b/INIT.cpp Sun Sep 01 12:24:12 2013 +0000 @@ -41,9 +41,7 @@ setBase(); callbackInfo.setSerial(this); - - dmaSendChannel = -1; - moddma_p = (void *)NULL; + if ( _base != NULL ) { buffer_size[RxIrq] = rxSize;