A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).
Dependents: weather_clock weather_clock
Revision 47:04632d22a723, committed 2015-06-04
- Comitter:
- geky
- Date:
- Thu Jun 04 20:18:39 2015 +0000
- Parent:
- 46:4abb80f0a920
- Parent:
- 45:3cfb7406d993
- Child:
- 48:6031f70e3914
- Commit message:
- Merged rev 46/45
Changed in this revision
ESP8266/ESP8266.cpp | Show annotated file Show diff for this revision Revisions of this file |
ESP8266/ESP8266.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ESP8266/ESP8266.cpp Thu Jun 04 20:14:52 2015 +0000 +++ b/ESP8266/ESP8266.cpp Thu Jun 04 20:18:39 2015 +0000 @@ -192,7 +192,7 @@ for (int line = 0; line < len; line += ESP_MAX_LINE) { if (!command("cs('")) return false; - + for (int i = 0; i < ESP_MAX_LINE && line+i < len; i++) { int a = buffer[line+i] / 100; int b = (buffer[line+i] - a*100) / 10;