mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix: remove esp_wifi.h from esp32board.h
saves ~500 bytes of dram and allows Tbeam to compile again
This commit is contained in:
parent
e60fb14e88
commit
c7eea3915d
3 changed files with 8 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue