From 6aa19b869bbb18d24b78aa0c2e490b814df469f8 Mon Sep 17 00:00:00 2001 From: Colin Dawson Date: Tue, 24 Dec 2024 17:00:03 +0000 Subject: [PATCH] Tweaked the code so that the _forceInternal variable doesn't care about if the scope is connected or not. --- Meade.net.Telescope/Telescope.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index 656ea43..427a1bd 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -3267,15 +3267,16 @@ namespace ASCOM.Meade.net private bool GetSlewing(bool isInternalCall) { var result = false; + + if (!isInternalCall) + { + result = _forceSlewingCount > 0; + } + try { if (Connected) { - if (!isInternalCall) - { - result = _forceSlewingCount > 0; - } - result = result || MovingAxis() || IsSlewingToTarget(); } }