Corrected defect where the scope will not attempt to connect the serial port

This commit is contained in:
2019-10-13 21:15:30 +01:00
parent 7f6f478dfc
commit 8efa8752df
+1 -1
View File
@@ -237,7 +237,7 @@ namespace ASCOM.Meade.net
if (deviceId == "Serial") if (deviceId == "Serial")
{ {
if (ConnectedDevices[deviceId].Count == 1) if (ConnectedDevices[deviceId].Count == 0)
{ {
var profileProperties = ReadProfile(); var profileProperties = ReadProfile();
SharedSerial.PortName = profileProperties.ComPort; SharedSerial.PortName = profileProperties.ComPort;