diff --git a/src/main.cpp b/src/main.cpp index 69e6495..d370e9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -237,9 +237,9 @@ void wifi_AP() { client.stop(); Serial.println("Client Disconnected."); } + ESP.restart(); } - void stop_moteur() { moteur.writeMicroseconds(1500); delay(1000); @@ -276,7 +276,6 @@ void scribe_sd (fs::FS &fs, const char * path, const char * horodatage) { file.close(); } - void vigie () { etat_bouton_wifi = digitalRead(bouton_wifi); if ( etat_bouton_wifi == HIGH && sem_wifi == false ) {