Fix wifi connection

This commit is contained in:
2025-06-15 12:14:17 -04:00
parent 84b65104fb
commit d507a27c0b
2 changed files with 1 additions and 1 deletions

View File

@@ -123,7 +123,6 @@ TCPServer::~TCPServer() {
auto that = static_cast<TCPServer *>(args);
while (true) {
printf("top of loop\n");
fd_set readfds;
FD_ZERO(&readfds);
int max_fd = -1;

View File

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