NimBLE enhanced logging (do not merge) (#1629)

* Change log level to debug

* Don't reinit active bluetooth services

* Chmod +x before zip and adding to release
This commit is contained in:
Ben Meadors
2022-08-14 15:27:21 -05:00
committed by GitHub
parent ca9113ad05
commit 80e3cee006
4 changed files with 19 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ void setBluetoothEnable(bool on) {
if (!esp32Bluetooth) {
esp32Bluetooth = new ESP32Bluetooth();
}
if (on) {
if (on && !esp32Bluetooth->isActive()) {
esp32Bluetooth->setup();
} else {
esp32Bluetooth->shutdown();