fixing portduino is getting old ...

This commit is contained in:
Thomas Göttgens
2022-12-16 20:46:43 +01:00
parent 54686905dc
commit bbaeeb7ce9
3 changed files with 6 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ void MQTT::reconnect()
sendSubscriptions();
} else {
DEBUG_MSG("Failed to contact MQTT server (%d/10)...\n",reconnectCount);
#if HAS_WIFI
#if HAS_WIFI && !defined(ARCH_PORTDUINO)
if (reconnectCount > 9) {
needReconnect = true;
wifiReconnect->setIntervalFromNow(1000);