diff --git a/src/main.cpp b/src/main.cpp index c7f7d6c..caa0b5a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -342,7 +342,7 @@ void scribe_sd (){ Serial.println("sem_scribe="); Serial.println(sem_scribe); - if (chrono_scribe >= inter_ecriture ){ + if ( sem_scribe == true && chrono_scribe >= inter_ecriture ){ //Serial.println("balise scribe"); char timestamp[] = "YY-MM-DD-hh:mm:ss"; char *horodatage = now.toString(timestamp);