MODSERIAL with support for more devices
Fork of MODSERIAL by
Diff: INIT.cpp
- Revision:
- 18:21ef26402365
- Parent:
- 12:8c7394e2ae7f
- Child:
- 23:5c45c21f36b7
diff -r 6c9b57c14868 -r 21ef26402365 INIT.cpp --- a/INIT.cpp Tue Mar 08 01:42:25 2011 +0000 +++ b/INIT.cpp Thu Apr 21 09:20:41 2011 +0000 @@ -30,6 +30,8 @@ { disableIrq(); + callbackInfo.setSerial(this); + switch(_uidx) { case 0: _base = LPC_UART0; break; case 1: _base = LPC_UART1; break;