[chronojump] Fixed trigger capture on forceSensor
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed trigger capture on forceSensor
- Date: Fri, 19 Mar 2021 09:54:09 +0000 (UTC)
commit 5300d7c2c32caf3548867c7bbfb541f0bbd63dab
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 19 10:53:50 2021 +0100
Fixed trigger capture on forceSensor
src/gui/app1/forceSensor.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index cabb81b8..4813c1a0 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1358,7 +1358,7 @@ public partial class ChronoJumpWindow
else if(readTriggers)
{
time = Convert.ToInt32(strFull[0]);
- triggerCode = strFull[1];
+ triggerCode = strFull[1].Trim(); //now is coming from Arduino with an enter
return true;
} else
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]