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.
Diff: ManchesterMsg.h
- Revision:
- 4:f2c392191c74
- Parent:
- 2:de778df5892c
- Child:
- 6:7454ad91f714
--- a/ManchesterMsg.h Thu May 18 10:20:55 2017 +0000
+++ b/ManchesterMsg.h Thu May 18 13:37:21 2017 +0000
@@ -40,7 +40,7 @@
char* data; // Data field
size_t len; // Length of data in bytes
- /** Creates empty Manchester message of specified capacity.
+ /** Creates empty message of specified capacity.
*/
ManchesterMsg(size_t max) : _max(max), data(new char[max]) { len = 0; }
@@ -58,7 +58,7 @@
*/
void clear(void) { len = 0; memset(data, 0, _max); }
- /** Inserter operator: Appends data (value) to Manchester message
+ /** Inserter operator: Appends data (value) to message
*/
template<class T>
ManchesterMsg &operator<<(const T val) {
@@ -75,7 +75,7 @@
return *this;
}
- /** Inserter operator: Appends string of char to Manchester message
+ /** Inserter operator: Appends string of char to message
*/
ManchesterMsg &operator<<(const char* str) {
size_t strLen = strlen(str);
@@ -93,7 +93,7 @@
return *this;
}
- /** Extractor operator: Extracts data (value) from CAN message
+ /** Extractor operator: Extracts data (value) from message
*/
template<class T>
ManchesterMsg &operator>>(T& val) {
@@ -111,7 +111,7 @@
return *this;
}
- /** Extractor operator: Extracts string of char from CAN message
+ /** Extractor operator: Extracts string of char from message
*/
ManchesterMsg &operator>>(char* str) {
size_t strLen = strlen(data);