Bt discovery fix (#880)

* launchDiscovery fix for esp32 (sending the discovery mqtt messages on the main core)
This commit is contained in:
Csiki authored and GitHub committed 2021-03-02 17:13:14 -06:00
1 parent cd282596e0
commit ebd6bb8031
4 files changed
+52 -18

No files matched your search

+4
View File
@@ -1319,6 +1319,10 @@ void loop() {
PilighttoMQTT();
#endif
#ifdef ZgatewayBT
# ifdef ZmqttDiscovery
if (disc)
launchBTDiscovery();
# endif
# ifndef ESP32
if (BTtoMQTT())
Log.trace(F("BTtoMQTT OK" CR));