Added code to force the date time to happen after the display bypass for autostar 497's

This commit is contained in:
2021-04-23 16:51:05 +01:00
parent a15bf22785
commit e7c81aba24
+7 -1
View File
@@ -418,9 +418,15 @@ namespace ASCOM.Meade.net
} }
SetTelescopePrecision("Connect"); SetTelescopePrecision("Connect");
bool setTimeBeforeDisplayBypass = SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS;
if (setTimeBeforeDisplayBypass)
SendCurrentDateTime("Connect");
SendCurrentDateTime("Connect");
ApplySkipAutoStarPrompts("Connect"); ApplySkipAutoStarPrompts("Connect");
if (!setTimeBeforeDisplayBypass)
SendCurrentDateTime("Connect");
} }
else else
{ {