lan init fix

This commit is contained in:
livello
2018-10-11 11:04:05 +03:00
parent dcf2fcf58e
commit db8a48b1c4

View File

@@ -239,6 +239,7 @@ lan_status lanLoop() {
switch (lanStatus) {
case INITIAL_STATE:
if (millis() > nextLanCheckTime)
onInitialStateInitLAN();
break;
@@ -467,7 +468,8 @@ void onInitialStateInitLAN() {
lanStatus = HAVE_IP_ADDRESS;//1;
} else
{
debugSerial<<F("Problem with WiFi connected");
debugSerial<<F("Problem with WiFi!");
nextLanCheckTime = millis() + DHCP_RETRY_INTERVAL/5;
}
#endif