[BROKER] Fix BT start (#2112)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
bbea094438
commit
b5adf1f5ac
1 file changed
+3
@@ -934,6 +934,9 @@ void setupMQTT() {
|
|||||||
|
|
||||||
mqtt.reset(new MQTTServer());
|
mqtt.reset(new MQTTServer());
|
||||||
mqtt->begin();
|
mqtt->begin();
|
||||||
|
# ifdef ZgatewayBT
|
||||||
|
BTProcessLock = !BTConfig.enabled; // Release BLE processes at start if enabled
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user