Skip to content

Commit

Permalink
[BROKER] Fix BT start (#2112)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian <[email protected]>
  • Loading branch information
1technophile and 1technophile authored Nov 13, 2024
1 parent bbea094 commit b5adf1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5adf1f

Please sign in to comment.