correct non pertinent call to BTtoMQTT when using ESP32

BTtoMQTT is handled as a task whit ESP32
This commit is contained in:
1technophile committed 2019-07-20 21:04:13 +02:00
1 parent 8471585d3d
commit 74939f63ed
1 file changed
+1 -1
+1 -1
View File
@@ -889,7 +889,7 @@ void loop()
PilighttoMQTT(); PilighttoMQTT();
#endif #endif
#ifdef ZgatewayBT #ifdef ZgatewayBT
#if defined(ESP8266) || defined(ESP32) #ifndef(ESP32)
if(BTtoMQTT()) if(BTtoMQTT())
trc(F("BTtoMQTT OK")); trc(F("BTtoMQTT OK"));
#endif #endif