Bt discovery fix (#880)
* launchDiscovery fix for esp32 (sending the discovery mqtt messages on the main core)
This commit is contained in:
1 parent
cd282596e0
commit
ebd6bb8031
4 files changed
+52
-18
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user