Skip to content

Commit b2f9fca

Browse files
lrmoreno007incowizglenlee
authored andcommitted
Update ArduinoOTA.cpp to solve esp8266#4086 (esp8266#4090)
* Update ArduinoOTA.cpp * Update ArduinoOTA.cpp
1 parent d25915d commit b2f9fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ArduinoOTA/ArduinoOTA.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ int ArduinoOTAClass::parseInt(){
152152
data[index++] = '\0';
153153
return atoi(data);
154154
}
155-
data[index++] = _udp_ota->read();
155+
data[index] = _udp_ota->read();
156156
}
157157
return 0;
158158
}

0 commit comments

Comments
 (0)