Skip to content

Commit cec8c6a

Browse files
committed
Potential fix for crash
The ESP8266 API for HTTPClient has a change in 2.5 that I believe has broken the chicken man. Specifically esp8266/Arduino#4980
1 parent 6152a38 commit cec8c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ChickenManGame/Man.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void Man::update() {
203203
}
204204

205205
// Open URL to get points
206-
http.begin(/*client, */ "http://192.168.4.1/points.html");
206+
http.begin(client, "http://192.168.4.1/points.html");
207207

208208
int httpCode = http.GET();
209209
String payload = http.getString();

0 commit comments

Comments
 (0)