diff --git a/SingleTact Demo/GUI.cs b/SingleTact Demo/GUI.cs index 7ce7834..155aee3 100644 --- a/SingleTact Demo/GUI.cs +++ b/SingleTact Demo/GUI.cs @@ -61,6 +61,7 @@ public GUI() this.Shown += new EventHandler(this.CloseOnStart); Environment.Exit(-1); } + if (0 != ports.Length) { // Assume Arduino is on the first port during startup.