Publishing for Biomimetics.
Fork of MODSERIAL by
Revision 26:758424d8503e, committed 2016-05-31
- Comitter:
- abuchan
- Date:
- Tue May 31 17:04:31 2016 +0000
- Parent:
- 25:ae0408ebdd68
- Commit message:
- Publishing for Biomimetics.
Changed in this revision
MODSERIAL.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r ae0408ebdd68 -r 758424d8503e MODSERIAL.h --- a/MODSERIAL.h Tue Jan 08 18:01:03 2013 +0000 +++ b/MODSERIAL.h Tue May 31 17:04:31 2016 +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;