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: lib.cpp
- Revision:
- 1:0e5e9821d89d
- Parent:
- 0:f0e40bf44ffe
- Child:
- 2:1b1c0502bb08
diff -r f0e40bf44ffe -r 0e5e9821d89d lib.cpp
--- a/lib.cpp Sun Apr 24 23:30:27 2016 +0000
+++ b/lib.cpp Sun Apr 24 23:37:04 2016 +0000
@@ -15,7 +15,7 @@
bool done = false;
int markercount = 0;
while (!done) {
- while (!device->readbale());
+ while (!device->readable());
dest[pos] = device->getc();
if (dest[pos] == '?') markercount++;
if (markercount >= 2) done = true;