diff --git a/ACOM Controller/MainWindow.xaml.cs b/ACOM Controller/MainWindow.xaml.cs index 1338c73..ba671ff 100644 --- a/ACOM Controller/MainWindow.xaml.cs +++ b/ACOM Controller/MainWindow.xaml.cs @@ -146,6 +146,7 @@ public void Configuration(string comPort, string ampModel, bool alwaysontop, boo // Default to COM4 if config file is invalid Port = new SerialPort(comPort == "" ? "COM1" : comPort, 9600, Parity.None, 8, StopBits.One); + // Keep DTR and RTS low to avoid blocking front panel power button Port.DtrEnable = false; Port.RtsEnable = false; diff --git a/ACOM Controller/Properties/Settings.Designer.cs b/ACOM Controller/Properties/Settings.Designer.cs index 5b17a14..55fe0e7 100644 --- a/ACOM Controller/Properties/Settings.Designer.cs +++ b/ACOM Controller/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace ACOM_Controller.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -49,7 +49,7 @@ public double Left { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("COM4")] + [global::System.Configuration.DefaultSettingValueAttribute("COM1")] public string ComPort { get { return ((string)(this["ComPort"])); @@ -61,7 +61,7 @@ public string ComPort { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("600S")] + [global::System.Configuration.DefaultSettingValueAttribute("700S")] public string AmplifierModel { get { return ((string)(this["AmplifierModel"])); diff --git a/ACOM Controller/Properties/Settings.settings b/ACOM Controller/Properties/Settings.settings index 06c7f60..383657e 100644 --- a/ACOM Controller/Properties/Settings.settings +++ b/ACOM Controller/Properties/Settings.settings @@ -9,10 +9,10 @@ 100 - COM4 + COM1 - 600S + 700S True diff --git a/ACOM Controller/app.config b/ACOM Controller/app.config index b6d04f8..95e23d6 100644 --- a/ACOM Controller/app.config +++ b/ACOM Controller/app.config @@ -14,10 +14,10 @@ 100 - COM4 + COM1 - 600S + 700S True