[chronojump] ForceSensor transmission check more reliable
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor transmission check more reliable
- Date: Tue, 24 Sep 2019 10:20:08 +0000 (UTC)
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]