MODSERIAL with support for more devices

Fork of MODSERIAL by Erik -

Revision:
3:0f10f536456e
Parent:
2:b936b4acbd92
Child:
4:28de979b77cf
diff -r b936b4acbd92 -r 0f10f536456e MODSERIAL.cpp
--- a/MODSERIAL.cpp	Sun Nov 21 03:31:51 2010 +0000
+++ b/MODSERIAL.cpp	Sun Nov 21 13:58:53 2010 +0000
@@ -45,6 +45,7 @@
     disableIrq();
     if (buffer[0] != NULL) free((char *)buffer[0]);
     if (buffer[1] != NULL) free((char *)buffer[1]);
+    this_reset(); // See DMA.cpp
 }
 
 bool