haptics version
Fork of MODSERIAL by
Diff: MODSERIAL.h
- Revision:
- 26:486d758f7194
- Parent:
- 25:ae0408ebdd68
--- 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;