From 74939f63ed55c063d9fedc5396796dce112aead8 Mon Sep 17 00:00:00 2001 From: 1technophile <1technophile@users.noreply.github.com> Date: Sat, 20 Jul 2019 21:04:13 +0200 Subject: [PATCH] correct non pertinent call to BTtoMQTT when using ESP32 BTtoMQTT is handled as a task whit ESP32 --- main/main.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.ino b/main/main.ino index c3a650c..2d1e4cb 100644 --- a/main/main.ino +++ b/main/main.ino @@ -889,7 +889,7 @@ void loop() PilighttoMQTT(); #endif #ifdef ZgatewayBT - #if defined(ESP8266) || defined(ESP32) + #ifndef(ESP32) if(BTtoMQTT()) trc(F("BTtoMQTT OK")); #endif