Fork of the MODSERIAL library by Erik Olieman.

Dependents:   trs_master

Fork of MODSERIAL by Erik -

Revision:
29:a469aa702bab
Parent:
27:5f402fed53e2
--- a/MODSERIAL.cpp	Wed Dec 12 07:27:21 2012 +0000
+++ b/MODSERIAL.cpp	Tue Jan 08 13:08:20 2013 +0000
@@ -31,17 +31,17 @@
 
 namespace AjK {
 
-MODSERIAL::MODSERIAL( PinName tx, PinName rx) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx, const char *name) : Serial( tx, rx, name )
 {
     init( MODSERIAL_DEFAULT_TX_BUFFER_SIZE, MODSERIAL_DEFAULT_RX_BUFFER_SIZE );
 }
 
-MODSERIAL::MODSERIAL( PinName tx, PinName rx, int bufferSize) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx, int bufferSize, const char *name) : Serial( tx, rx, name )
 {
     init( bufferSize, bufferSize );
 }
 
-MODSERIAL::MODSERIAL( PinName tx, PinName rx, int txSize, int rxSize) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx, int txSize, int rxSize, const char *name) : Serial( tx, rx, name )
 {
     init( txSize, rxSize );
 }