[chronojump] Fixed bug: Wichro cannot capture more than one time on windows
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed bug: Wichro cannot capture more than one time on windows
- Date: Fri, 10 Dec 2021 15:21:31 +0000 (UTC)
commit f7e460c4c5405e40a4303b9b4fb980102b782f7d
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Dec 10 16:12:42 2021 +0100
Fixed bug: Wichro cannot capture more than one time on windows
src/gui/app1/chronojump.cs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index fa691170c..47c9530ef 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4463,8 +4463,6 @@ public partial class ChronoJumpWindow
if(current_mode == Constants.Modes.RUNSINTERVALLIC && compujumpAutologout != null)
compujumpAutologout.StartCapturingRunInterval();
- chronopicRegisterUpdate(false);
-
if( chronopicRegister.NumConnectedOfType(ChronopicRegisterPort.Types.RUN_WIRELESS) == 1 && (
current_mode == Constants.Modes.RUNSSIMPLE ||
current_mode == Constants.Modes.RUNSINTERVALLIC) )
@@ -4476,6 +4474,11 @@ public partial class ChronoJumpWindow
on_button_execute_test_acceptedPre_start_camera(WebcamStartedTestStart.CHRONOPIC);
return;
}
+
+ //Done before the Wichro capture.
+ //If we want to use this before Wichro capture, then we will need to call first
Arduino.Disconnect.
+ chronopicRegisterUpdate(false);
+
cp2016.StoredWireless = false;
int numContacts = chronopicRegister.NumConnectedOfType(ChronopicRegisterPort.Types.CONTACTS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]