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: MODSERIAL.cpp
- Revision:
- 42:d1a98030e846
- Parent:
- 31:b90b20f78f04
--- a/MODSERIAL.cpp Tue Nov 17 12:11:44 2015 -0300
+++ b/MODSERIAL.cpp Fri Sep 09 13:56:07 2016 +0000
@@ -94,6 +94,7 @@
bool MODSERIAL::claim (FILE *stream) {
+#if 0
if ( _name == NULL) {
error("claim requires a name to be given in the instantiator of the MODSERIAL instance!\r\n");
}
@@ -111,6 +112,8 @@
//No buffering
setvbuf(stdout, NULL, _IONBF, buffer_size[TxIrq]);
+#endif
+
return true;
}