fix: remove esp_wifi.h from esp32board.h

saves ~500 bytes of dram and allows Tbeam to compile again
This commit is contained in:
taco 2026-01-30 15:07:40 +11:00
parent e60fb14e88
commit c7eea3915d
3 changed files with 8 additions and 6 deletions

View file

@ -11,6 +11,7 @@
#include <SPIFFS.h>
bool ESP32Board::startOTAUpdate(const char* id, char reply[]) {
inhibit_sleep = true; // prevent sleep during OTA
WiFi.softAP("MeshCore-OTA", NULL);
sprintf(reply, "Started: http://%s/update", WiFi.softAPIP().toString().c_str());