[chronojump] Lower sleep time on encoder capture threads (100 -> 50)



commit 438e50885d1bc16604c8e930bf853bccc433533f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Mar 11 12:50:05 2017 +0100

    Lower sleep time on encoder capture threads (100 -> 50)

 src/gui/encoder.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index b02964a..af92b4e 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -5184,7 +5184,7 @@ public partial class ChronoJumpWindow
                label_encoder_capture_inertial_angle_now.Text = newValue.ToString();
 
 
-               Thread.Sleep (100);
+               Thread.Sleep (50);
 
                //don't plot info here because this is sorking all the time
                //LogB.Information(" CapBG:"+ encoderThreadBG.ThreadState.ToString());
@@ -5289,7 +5289,7 @@ public partial class ChronoJumpWindow
                        LogB.Information(" Cur:" + encoderThread.ThreadState.ToString());
                }
                        
-               Thread.Sleep (100);
+               Thread.Sleep (50);
 
                return true;
        }


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