Changed the code to detect any exception when trying to run a :GVP after the initial connect.

This commit is contained in:
2019-10-19 11:54:04 +01:00
parent 307517ded0
commit 438ec779b4
+1 -1
View File
@@ -260,7 +260,7 @@ namespace ASCOM.Meade.net
ProductName = SendString(":GVP#"); ProductName = SendString(":GVP#");
FirmwareVersion = SendString(":GVN#"); FirmwareVersion = SendString(":GVN#");
} }
catch (TimeoutException) catch (Exception)
{ {
ProductName = TelescopeList.LX200CLASSIC; ProductName = TelescopeList.LX200CLASSIC;
FirmwareVersion = "Unknown"; FirmwareVersion = "Unknown";