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();