[chronojump] ForceSensor transmission check more reliable



commit 571e244f9456d0d35b800d6db6f8fb72325d39e9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Sep 24 12:13:35 2019 +0200

    ForceSensor transmission check more reliable

 src/gui/forceSensor.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index 859682f4..ea949a10 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -660,7 +660,7 @@ public partial class ChronoJumpWindow
                        }
                        LogB.Information("init string: " + str);
                }
-               while(! (str.Contains("binary") || str.Contains("text")) );
+               while(! (str.Contains("binary") || str.Contains("text") || str.Contains("Not a valid 
command")) );
 
                forceSensorOtherMessageShowSeconds = false;
                forceSensorOtherMessage = str;


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