From e7c81aba241bca151e900fb6be7e0a466729d63f Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Fri, 23 Apr 2021 16:51:05 +0100 Subject: [PATCH] Added code to force the date time to happen after the display bypass for autostar 497's --- Meade.net.Telescope/Telescope.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index 26c4f41..1ac6a91 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -418,9 +418,15 @@ namespace ASCOM.Meade.net } SetTelescopePrecision("Connect"); + + bool setTimeBeforeDisplayBypass = SharedResourcesWrapper.ProductName == TelescopeList.LX200GPS; + if (setTimeBeforeDisplayBypass) + SendCurrentDateTime("Connect"); - SendCurrentDateTime("Connect"); ApplySkipAutoStarPrompts("Connect"); + if (!setTimeBeforeDisplayBypass) + SendCurrentDateTime("Connect"); + } else {