1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Update ArduinoOTA.cpp to solve #4086 (#4090)

* Update ArduinoOTA.cpp

* Update ArduinoOTA.cpp
This commit is contained in:
ZaPpInG 2018-01-04 22:48:56 +01:00 committed by Develo
parent d9ef6b5f18
commit a19ff3517e

View File

@ -152,7 +152,7 @@ int ArduinoOTAClass::parseInt(){
data[index++] = '\0'; data[index++] = '\0';
return atoi(data); return atoi(data);
} }
data[index++] = _udp_ota->read(); data[index] = _udp_ota->read();
} }
return 0; return 0;
} }