now this shit works
Fork of ESP8266NodeMCUInterface by
Diff: ESP8266/ESP8266.cpp
- Revision:
- 47:04632d22a723
- Parent:
- 46:4abb80f0a920
- Parent:
- 45:3cfb7406d993
- Child:
- 49:a7741fe989ca
--- 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;