[chronojump] ForceSensorValues when all samples ared negative do not show max=0



commit d581fffc7d7540ae3908788961e20e5b8c856b39
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jan 4 13:01:49 2022 +0100

    ForceSensorValues when all samples ared negative do not show max=0

 src/forceSensor.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/forceSensor.cs b/src/forceSensor.cs
index 032aeb2de..e49052d1b 100644
--- a/src/forceSensor.cs
+++ b/src/forceSensor.cs
@@ -797,7 +797,7 @@ public class ForceSensorValues
                TimeLast = 0;
                TimeValueMax = 0;
                ValueLast = 0;
-               Max = 0;
+               Max = -10000;
                Min = 10000;
        }
 


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