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
Diff: ESP8266/ESP8266.cpp
- Revision:
- 47:04632d22a723
- Parent:
- 46:4abb80f0a920
- Parent:
- 45:3cfb7406d993
- Child:
- 49:cac09a34102c
diff -r 4abb80f0a920 -r 04632d22a723 ESP8266/ESP8266.cpp --- 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;