[chronojump] Cont of last commit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Cont of last commit
- Date: Tue, 10 May 2022 12:02:01 +0000 (UTC)
commit 06a2011930b207fa30aba08fc158f3bf121130fe
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue May 10 14:01:51 2022 +0200
Cont of last commit
src/gui/app1/runEncoder.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 6a7ec5ec4..283cc632a 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -1119,7 +1119,7 @@ public partial class ChronoJumpWindow
accel = UtilAll.DivideSafe(reCGSD.RunEncoderCaptureSpeed - speedPre2,
UtilAll.DivideSafe(reCGSD.Time, 1000000) -
timePre2);
- if (accel > preferences.runEncoderMinAccel && ! enoughAccel)
+ if (accel >= preferences.runEncoderMinAccel && ! enoughAccel)
{
//recreate rcCGSD object since now
reCGSD = new RunEncoderCaptureGetSpeedAndDisplacement(
@@ -1128,7 +1128,7 @@ public partial class ChronoJumpWindow
currentRunEncoder.Angle);
//to shift times to the left
- reCGSD.SetTimeAtEnoughAccel (rowPre);
+ reCGSD.SetTimeAtEnoughAccel (row);
//pass previous row and this one
if(reCGSD.PassLoadedRow (rowPre))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]