diff --git a/pousseseringue-arduino.cpp b/pousseseringue-arduino.cpp index b87c4afd15df8baf6f46a0119b6c5e37c248cb65..5d77a794764d05ce9ea7cac2a8ee42faaf1acf4c 100644 --- a/pousseseringue-arduino.cpp +++ b/pousseseringue-arduino.cpp @@ -338,7 +338,8 @@ void setup() #endif // check if emergency button is pressed at boot time - syringe.setEmergency(digitalRead(COURSE)); + syringe_filled.set_emergency(digitalRead(COURSE)); + if (fs_init(msgHeader, &Serial)) {