Commit 3e160587 authored by me-no-dev's avatar me-no-dev

Fix WiFi Client not properly reporting connected state

parent 79010b64
......@@ -451,8 +451,9 @@ uint8_t WiFiClient::connected()
_connected = true;
break;
}
}
else {
} else if(res == 0){
_connected = false;
} else {
_connected = true;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment