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 27:5f402fed53e2, committed 2012-11-26
- Comitter:
- Sissors
- Date:
- Mon Nov 26 09:26:57 2012 +0000
- Parent:
- 26:eb79370d38a2
- Child:
- 28:3ba4341d74d6
- Commit message:
- Removed name from constructor
;
Changed in this revision
| MODSERIAL.cpp | Show annotated file Show diff for this revision Revisions of this file |
| MODSERIAL.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MODSERIAL.cpp Mon Nov 26 09:24:07 2012 +0000
+++ b/MODSERIAL.cpp Mon Nov 26 09:26:57 2012 +0000
@@ -31,17 +31,17 @@
namespace AjK {
-MODSERIAL::MODSERIAL( PinName tx, PinName rx, const char *name ) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx) : Serial( tx, rx )
{
init( MODSERIAL_DEFAULT_TX_BUFFER_SIZE, MODSERIAL_DEFAULT_RX_BUFFER_SIZE );
}
-MODSERIAL::MODSERIAL( PinName tx, PinName rx, int bufferSize, const char *name ) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx, int bufferSize) : Serial( tx, rx )
{
init( bufferSize, bufferSize );
}
-MODSERIAL::MODSERIAL( PinName tx, PinName rx, int txSize, int rxSize, const char *name ) : Serial( tx, rx )
+MODSERIAL::MODSERIAL( PinName tx, PinName rx, int txSize, int rxSize) : Serial( tx, rx )
{
init( txSize, rxSize );
}
--- a/MODSERIAL.h Mon Nov 26 09:24:07 2012 +0000
+++ b/MODSERIAL.h Mon Nov 26 09:26:57 2012 +0000
@@ -284,7 +284,7 @@
* @param rx PinName of the TX pin.
* @param name An option name for RPC usage.
*/
- MODSERIAL(PinName tx, PinName rx, const char *name = NULL);
+ MODSERIAL(PinName tx, PinName rx);
/**
* The MODSERIAL constructor is used to initialise the serial object.
@@ -294,7 +294,7 @@
* @param bufferSize Integer of the TX and RX buffer sizes.
* @param name An option name for RPC usage.
*/
- MODSERIAL(PinName tx, PinName rx, int bufferSize, const char *name = NULL);
+ MODSERIAL(PinName tx, PinName rx, int bufferSize);
/**
* The MODSERIAL constructor is used to initialise the serial object.
@@ -305,7 +305,7 @@
* @param rxBufferSize Integer of the RX buffer sizes.
* @param name An option name for RPC usage.
*/
- MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize, const char *name = NULL);
+ MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize);
virtual ~MODSERIAL();
