MODSERIAL with support for KL25Z + RTOS (beta, putc + puts currently)

Dependents:   kl25z_USB_4

Fork of MODSERIAL by Erik -

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Mon Jun 10 19:06:21 2013 +0000
Parent:
25:ae0408ebdd68
Child:
27:9c93ce7cb9d8
Commit message:
_uidx reference in DMA code replaced by _serial.index

Changed in this revision

ChangeLog.c Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.h Show annotated file Show diff for this revision Revisions of this file
--- a/ChangeLog.c	Tue Jan 08 18:01:03 2013 +0000
+++ b/ChangeLog.c	Mon Jun 10 19:06:21 2013 +0000
@@ -1,4 +1,6 @@
 /* $Id:$
+1.26    10th June 2013
+    * _uidx reference in DMA code replaced by _serial.index
 
 1.25    8th January 2013
     
--- a/MODSERIAL.h	Tue Jan 08 18:01:03 2013 +0000
+++ b/MODSERIAL.h	Mon Jun 10 19:06:21 2013 +0000
@@ -1003,7 +1003,7 @@
         dmaSendChannel = dmaChannel & 0x7;
         
         uint32_t conn = MODDMA::UART0_Tx;
-        switch(_uidx) {
+        switch(_serial.index) {
             case 0: conn = MODDMA::UART0_Tx; break;
             case 1: conn = MODDMA::UART1_Tx; break;
             case 2: conn = MODDMA::UART2_Tx; break;