fix portduino - again

This commit is contained in:
Thomas Göttgens 2022-11-18 18:22:35 +01:00
parent 144afee29e
commit 990c0119a7

View File

@ -165,7 +165,7 @@ void MQTT::reconnect()
sendSubscriptions();
} else
DEBUG_MSG("Failed to contact MQTT server...\n");
#if HAS_WIFI
#if HAS_WIFI && !defined(ARCH_PORTDUINO)
WiFi.disconnect(false, true);
triggerReconnect();
#endif