haptics version

Fork of MODSERIAL by Andy K

Files at this revision

API Documentation at this revision

Comitter:
jordisb
Date:
Thu Nov 02 10:44:36 2017 +0000
Parent:
25:ae0408ebdd68
Commit message:
Serial comm manipulandum, PULL UP resistors, 1 button

Changed in this revision

MODSERIAL.h Show annotated file Show diff for this revision Revisions of this file
--- 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;