Skip to content

Commit

Permalink
Write the correct value for autoDetectComPort
Browse files Browse the repository at this point in the history
  • Loading branch information
jlecomte committed Jun 5, 2023
1 parent d22fbde commit 48db31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASCOM_Driver/FocuserDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ internal void WriteProfile()
{
driverProfile.DeviceType = "Focuser";
driverProfile.WriteValue(driverID, traceStateProfileName, tl.Enabled.ToString());
driverProfile.WriteValue(driverID, autoDetectComPortProfileName, autoDetectComPortDefault.ToString());
driverProfile.WriteValue(driverID, autoDetectComPortProfileName, autoDetectComPort.ToString());
if (comPortOverride != null)
{
driverProfile.WriteValue(driverID, comPortProfileName, comPortOverride.ToString());
Expand Down

0 comments on commit 48db31e

Please sign in to comment.