[chronojump] Commented buggy code on chronopic detection on jump with no port on Windows. TODO: fix it



commit 156f5a3214855c02f896e0f90f723b1a60dfe26d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Nov 4 10:22:15 2016 +0100

    Commented buggy code on chronopic detection on jump with no port on Windows. TODO: fix it

 src/gui/chronojump.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index e3cd000..b9a5f55 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3658,11 +3658,14 @@ public partial class ChronoJumpWindow
        {
                if(UtilAll.IsWindows()) {
                        //on Windows check if last connected port is available with chronopicRegister 
getPorts()
+                       //TODO: fix this code
+                       /*
                        bool windowsLastContactsPortExists = cp2016.WindowsLastConnectedRealExists();
                        if( ! windowsLastContactsPortExists) {
                                chronopicRegisterUpdate(true);
                                return;
                        }
+                       */
                } else {
                        chronopicRegisterUpdate(false);
                }
@@ -6812,7 +6815,8 @@ LogB.Debug("X");
                ChronopicRegisterSelectOS cros = new ChronopicRegisterSelectOS();
                chronopicRegister = cros.Do();
                
-               /*On Chronopic hsa been disconnected on OSX, port gets blocked
+               /*
+                * If Chronopic has been disconnected on OSX, port gets blocked
                 * (no new tty is assigned until serial port is closed)
                 * maybe need to reconnect USB cables
                 */


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