Browse Source

Fix BLE initialization

Just Call Me Koko 5 years ago
parent
commit
018198d51b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      esp32_marauder/WiFiScan.cpp

+ 1 - 0
esp32_marauder/WiFiScan.cpp

@@ -131,6 +131,7 @@ WiFiScan::WiFiScan()
 void WiFiScan::RunSetup() {
   BLEDevice::init("");
   pBLEScan = BLEDevice::getScan(); //create new scan
+  this->ble_initialized = true;
   
   this->shutdownBLE();
 }