Merge pull request #1532 from oltaco/esp32board.h-removewifi

Refactor ESP32Board.h to save ~500 bytes of DRAM
This commit is contained in:
ripplebiz
2026-02-05 13:09:04 +11:00
committed by GitHub
3 changed files with 8 additions and 6 deletions

View File

@@ -194,6 +194,7 @@ void setup() {
);
#ifdef WIFI_SSID
board.setInhibitSleep(true); // prevent sleep when WiFi is active
WiFi.begin(WIFI_SSID, WIFI_PWD);
serial_interface.begin(TCP_PORT);
#elif defined(BLE_PIN_CODE)