[chronojump/FS-LCD-Menu] Fixed initialitzation of maxMeanForce1s at start_capture



commit ebdfcab9dc98845c5f7b2a64821e9b5f58041388
Author: xpadulles <x padulles gmail com>
Date:   Tue Jan 4 13:44:17 2022 +0100

    Fixed initialitzation of maxMeanForce1s at start_capture

 arduino/ForceSensorLCD/ForceSensorLCD.ino | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/arduino/ForceSensorLCD/ForceSensorLCD.ino b/arduino/ForceSensorLCD/ForceSensorLCD.ino
index 47ae7e1d9..b53ce86b0 100644
--- a/arduino/ForceSensorLCD/ForceSensorLCD.ino
+++ b/arduino/ForceSensorLCD/ForceSensorLCD.ino
@@ -598,6 +598,7 @@ void start_capture()
   for (int i; i< 90; i++){
     forces1s[i] = measured;
   }
+  maxMeanForce1s = 0;
   
   capturing = true;
   delay(500);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]