haptics version

Fork of MODSERIAL by Andy K

Revision:
26:486d758f7194
Parent:
25:ae0408ebdd68
diff -r ae0408ebdd68 -r 486d758f7194 MODSERIAL.h
--- a/MODSERIAL.h	Tue Jan 08 18:01:03 2013 +0000
+++ b/MODSERIAL.h	Thu Nov 02 10:44:36 2017 +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;