From 301d2b2e75077ecef0799f4a533d83136e7ec0cb Mon Sep 17 00:00:00 2001 From: pgp Date: Fri, 16 Apr 2021 15:05:18 +0200 Subject: [PATCH] while wifi --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 283ac4f..4e2771c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -471,6 +471,7 @@ void start_wifiAP() { } void wifi_AP() { // ajouter menu vitesse et fréquence d'écriture + while (true) { WiFiClient client = server.available(); // listen for incoming clients if (client) { // if you get a client, @@ -519,6 +520,7 @@ void wifi_AP() { // ajouter menu vitesse et fréquence d'écriture client.stop(); Serial.println("Client Disconnected."); } + } ESP.restart(); }