From b5adf1f5ac953ca1bd5a48ef6fa61ae7d2ae3e94 Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 13 Nov 2024 07:42:44 -0600 Subject: [PATCH] [BROKER] Fix BT start (#2112) Co-authored-by: Florian <1technophile@users.noreply.github.com> --- main/main.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/main.ino b/main/main.ino index 45f5a165..b226c204 100644 --- a/main/main.ino +++ b/main/main.ino @@ -934,6 +934,9 @@ void setupMQTT() { mqtt.reset(new MQTTServer()); mqtt->begin(); +# ifdef ZgatewayBT + BTProcessLock = !BTConfig.enabled; // Release BLE processes at start if enabled +# endif } #else