From 990c0119a7eeb8e4b4b1b82b9a29653da24a5392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Fri, 18 Nov 2022 18:22:35 +0100 Subject: [PATCH] fix portduino - again --- src/mqtt/MQTT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index a3ae51ae1..a1c31c26b 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -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