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.
Dependents: RN-XV_simple_server
Diff: Wifly.cpp
- Revision:
- 16:f524a28790b1
- Parent:
- 12:fd6874542b28
- Child:
- 17:56f3c4da1ea8
--- a/Wifly.cpp Sun Nov 06 12:09:00 2011 +0000 +++ b/Wifly.cpp Sun Nov 06 12:15:50 2011 +0000 @@ -90,12 +90,11 @@ string checking; while (1) { - if (tmr.read() > 3) { + if (tmr.read() > 5) { //We flush the buffer while (wifi.readable()) wifi.getc(); - //printf("checking: %s\r\n", checking); attach_rx(true); return false; } else if (wifi.readable()) { @@ -109,7 +108,6 @@ while (wifi.readable()) wifi.getc(); - //printf("checking: %s\r\n", checking); break; } }