Skip to content

Commit 1648eff

Browse files
Add prints
1 parent 85c4802 commit 1648eff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

esp32_marauder/WiFiScan.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,8 @@ void WiFiScan::RunSetup() {
16991699
else
17001700
this->wsl_bypass_enabled = false;
17011701

1702+
Serial.println("Getting settings...");
1703+
17021704
#ifdef HAS_PSRAM
17031705
ssids = new (ps_malloc(sizeof(LinkedList<ssid>))) LinkedList<ssid>();
17041706
new (ssids) LinkedList<ssid>();
@@ -1757,13 +1759,18 @@ void WiFiScan::RunSetup() {
17571759
{0x20, "Green Watch6 Classic 43m"},
17581760
};
17591761

1762+
Serial.println("Setting up BLE...");
1763+
17601764
NimBLEDevice::setScanFilterMode(CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE);
17611765
NimBLEDevice::setScanDuplicateCacheSize(200);
17621766
NimBLEDevice::init("");
17631767
pBLEScan = NimBLEDevice::getScan(); //create new scan
17641768
this->ble_initialized = true;
17651769

1770+
Serial.println("Shutting down BLE...");
17661771
this->shutdownBLE();
1772+
1773+
Serial.println("Setting up wifi...");
17671774
esp_wifi_init(&cfg);
17681775
#ifdef HAS_DUAL_BAND
17691776
esp_wifi_set_country(&country);

0 commit comments

Comments
 (0)