mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Remove networkStop
This commit is contained in:
parent
60fb4f759a
commit
2b44d2de81
@ -81,6 +81,7 @@ void IRAM_ATTR mdnsLoop(void)
|
|||||||
|
|
||||||
void mdnsStop()
|
void mdnsStop()
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
#if HASP_USE_MDNS > 0
|
#if HASP_USE_MDNS > 0
|
||||||
MDNS.end();
|
MDNS.end();
|
||||||
#endif
|
#endif
|
||||||
|
@ -73,7 +73,7 @@ static void wifiDisconnected(const char * ssid, uint8_t reason)
|
|||||||
wifiReconnectCounter++;
|
wifiReconnectCounter++;
|
||||||
|
|
||||||
haspProgressVal(wifiReconnectCounter * 3);
|
haspProgressVal(wifiReconnectCounter * 3);
|
||||||
networkStop();
|
// networkStop();
|
||||||
|
|
||||||
if(wifiReconnectCounter > 33) {
|
if(wifiReconnectCounter > 33) {
|
||||||
Log.error(TAG_WIFI, F("Retries exceed %u: Rebooting..."), wifiReconnectCounter);
|
Log.error(TAG_WIFI, F("Retries exceed %u: Rebooting..."), wifiReconnectCounter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user