Skip to content

Commit 4fb65cd

Browse files
Merge pull request #1081 from justcallmekoko/develop
Remove verbose print statements
2 parents 44f51d2 + 419dd43 commit 4fb65cd

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

esp32_marauder/WiFiScan.cpp

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

1702-
Serial.println("Getting settings...");
1703-
17041702
#ifdef HAS_PSRAM
17051703
ssids = new (ps_malloc(sizeof(LinkedList<ssid>))) LinkedList<ssid>();
17061704
new (ssids) LinkedList<ssid>();
@@ -1759,18 +1757,14 @@ void WiFiScan::RunSetup() {
17591757
{0x20, "Green Watch6 Classic 43m"},
17601758
};
17611759

1762-
Serial.println("Setting up BLE...");
1763-
17641760
NimBLEDevice::setScanFilterMode(CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE);
17651761
NimBLEDevice::setScanDuplicateCacheSize(200);
17661762
NimBLEDevice::init("");
17671763
pBLEScan = NimBLEDevice::getScan(); //create new scan
17681764
this->ble_initialized = true;
17691765

1770-
Serial.println("Shutting down BLE...");
17711766
this->shutdownBLE();
17721767

1773-
Serial.println("Setting up wifi...");
17741768
esp_wifi_init(&cfg);
17751769
#ifdef HAS_IDF_3
17761770
esp_wifi_set_country(&country);

esp32_marauder/esp32_marauder.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ void setup()
218218

219219
#ifdef HAS_PSRAM
220220
if (psramInit()) {
221-
Serial.println("PSRAM is correctly initialized");
221+
Serial.println(F("PSRAM is correctly initialized"));
222222
} else {
223-
Serial.println("PSRAM not available");
223+
Serial.println(F("PSRAM not available"));
224224
}
225225
#endif
226226

@@ -263,7 +263,7 @@ void setup()
263263

264264
backlightOff();
265265

266-
Serial.println("Headless Mode enabled");
266+
Serial.println(F("Headless Mode enabled"));
267267
}
268268
#endif
269269
#endif

0 commit comments

Comments
 (0)