From d507a27c0bec9351cda57c80d99f45dc49eb15e7 Mon Sep 17 00:00:00 2001 From: Johnathon Slightham Date: Sun, 15 Jun 2025 12:14:17 -0400 Subject: [PATCH] Fix wifi connection --- components/rpc/TCPServer.cpp | 1 - components/rpc/WifiManager.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rpc/TCPServer.cpp b/components/rpc/TCPServer.cpp index 7feb778..7489235 100644 --- a/components/rpc/TCPServer.cpp +++ b/components/rpc/TCPServer.cpp @@ -123,7 +123,6 @@ TCPServer::~TCPServer() { auto that = static_cast(args); while (true) { - printf("top of loop\n"); fd_set readfds; FD_ZERO(&readfds); int max_fd = -1; diff --git a/components/rpc/WifiManager.cpp b/components/rpc/WifiManager.cpp index 638943c..af64817 100644 --- a/components/rpc/WifiManager.cpp +++ b/components/rpc/WifiManager.cpp @@ -12,6 +12,7 @@ WifiManager::WifiManager() { esp_netif_init(); + esp_wifi_set_storage(WIFI_STORAGE_RAM); esp_event_loop_create_default(); this->m_mutex = xSemaphoreCreateMutex();