Connection status admin message

This commit is contained in:
Ben Meadors
2023-02-03 08:50:10 -06:00
parent a8dd497575
commit d9031610ab
11 changed files with 149 additions and 123 deletions

View File

@@ -19,11 +19,9 @@
#include <nvs_flash.h>
#if !defined(CONFIG_IDF_TARGET_ESP32S2)
NimbleBluetooth *nimbleBluetooth;
void setBluetoothEnable(bool on)
{
if (!isWifiAvailable() && config.bluetooth.enabled == true) {
if (!nimbleBluetooth) {
nimbleBluetooth = new NimbleBluetooth();