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
commit 4b9d5462bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)