fix for W5500 detection

This commit is contained in:
technyon
2023-03-23 19:10:46 +01:00
parent 847cb2b6cc
commit 0758df21bb
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#define NUKI_HUB_VERSION "8.19-pre-1" #define NUKI_HUB_VERSION "8.19-pre-2"
#define MQTT_QOS_LEVEL 1 #define MQTT_QOS_LEVEL 1
#define MQTT_CLEAN_SESSIONS false #define MQTT_CLEAN_SESSIONS false

View File

@@ -115,6 +115,7 @@ ReconnectStatus W5500Device::reconnect()
} }
else else
{ {
hardwareFound = true;
_hasDHCPAddress = true; _hasDHCPAddress = true;
dhcpRetryCnt = 1000; dhcpRetryCnt = 1000;
if(_ipConfiguration->dhcpEnabled()) if(_ipConfiguration->dhcpEnabled())