Remove networkStop

This commit is contained in:
fvanroie 2020-11-25 16:48:26 +01:00
parent 60fb4f759a
commit 2b44d2de81
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ void IRAM_ATTR mdnsLoop(void)
void mdnsStop()
{
return;
#if HASP_USE_MDNS > 0
MDNS.end();
#endif

View File

@ -73,7 +73,7 @@ static void wifiDisconnected(const char * ssid, uint8_t reason)
wifiReconnectCounter++;
haspProgressVal(wifiReconnectCounter * 3);
networkStop();
// networkStop();
if(wifiReconnectCounter > 33) {
Log.error(TAG_WIFI, F("Retries exceed %u: Rebooting..."), wifiReconnectCounter);