add restart at the end of the wifiAP function
This commit is contained in:
parent
9ed16ffeb7
commit
a50cd0f09e
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue