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.
Dependencies: FreePilot PinDetect mbed-src
Fork of FreePilot_V2-2 by
Diff: MODSERIAL.cpp
- Revision:
- 25:ae0408ebdd68
- Parent:
- 24:9c456e647a8f
diff -r 9c456e647a8f -r ae0408ebdd68 MODSERIAL.cpp
--- a/MODSERIAL.cpp Thu Dec 06 13:06:10 2012 +0000
+++ b/MODSERIAL.cpp Tue Jan 08 18:01:03 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, rx );
}
-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, rx );
}
-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, rx );
}
