[chronojump] Commented start_capture end_capture on wichro capture



commit 210bd9ee7f85204a9077bc137cda8649bdf8a8a1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Sep 27 11:00:57 2021 +0200

    Commented start_capture end_capture on wichro capture

 src/execute/arduinoCapture.cs | 6 ++++++
 src/execute/run.cs            | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/execute/arduinoCapture.cs b/src/execute/arduinoCapture.cs
index 2e0b63558..34ec3c04d 100644
--- a/src/execute/arduinoCapture.cs
+++ b/src/execute/arduinoCapture.cs
@@ -180,9 +180,12 @@ public class PhotocellWirelessCapture: ArduinoCapture
 
                LogB.Information(string.Format("arduinoCapture portName: {0}, bauds: {1}", portName, bauds));
 
+               /*
+                  disabled start_capture
                if (! sendCommand("start_capture:", "Catched at start_capture:"))
                        return false;
                waitResponse("Starting capture");
+               */
 
                return true;
        }
@@ -217,10 +220,13 @@ public class PhotocellWirelessCapture: ArduinoCapture
                        LogB.Information("At Stop, readed: " + str);
                }
 
+               /*
+                  disabled end_capture
                if (! sendCommand("end_capture:", "Catched at end_capture:"))
                        return false;
 
                waitResponse("Capture ended");
+               */
                LogB.Information("AT Capture: STOPPED");
 
                /*
diff --git a/src/execute/run.cs b/src/execute/run.cs
index dce79928c..c7c447c2f 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -362,7 +362,7 @@ LogB.Information("going to call photocellWirelessCapture.CaptureStart ()");
                        
                        if (ok && ! cancel && ! finish)
                        {
-                               LogB.Information("waitEvent 7");
+//                             LogB.Information("waitEvent 7");
                                if( ! firstFromChronopicReceived )
                                {
                                        speedStart = has_arrived();


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