Skip to content

Commit a19ff35

Browse files
lrmoreno007devyte
authored andcommitted
Update ArduinoOTA.cpp to solve #4086 (#4090)
* Update ArduinoOTA.cpp * Update ArduinoOTA.cpp
1 parent d9ef6b5 commit a19ff35

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)