Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MODSERIAL by
Revision 26:486d758f7194, committed 2017-11-02
- 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;