Skip to content

Commit 92a357c

Browse files
authored
Update PostHttpClient.ino
1 parent 85bdc6e commit 92a357c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266HTTPClient/examples/PostHttpClient/PostHttpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void setup() {
4747

4848
void loop() {
4949
// wait for WiFi connection
50-
if ((WiFiMulti.run() == WL_CONNECTED)) {
50+
if ((WiFi.status() == WL_CONNECTED)) {
5151

5252
WiFiClient client;
5353
HTTPClient http;

0 commit comments

Comments
 (0)