From d8dfba3e99a0585618f5eefd05d07b0cf9edca9e Mon Sep 17 00:00:00 2001 From: Jasem Mutlaq Date: Tue, 9 Jan 2024 08:43:00 +0300 Subject: [PATCH] Need to reset sky tracking target after a manual slew is done --- drivers/telescope/skywatcherAPIMount.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/telescope/skywatcherAPIMount.cpp b/drivers/telescope/skywatcherAPIMount.cpp index 7e8831f017..29cca03859 100644 --- a/drivers/telescope/skywatcherAPIMount.cpp +++ b/drivers/telescope/skywatcherAPIMount.cpp @@ -1078,6 +1078,8 @@ void SkywatcherAPIMount::TimerHit() { m_ManualMotionActive = false; resetTracking(); + m_SkyTrackingTarget.rightascension = EqN[AXIS_RA].value; + m_SkyTrackingTarget.declination = EqN[AXIS_DE].value; } // If we're manually moving by WESN controls, update the tracking coordinates. if (m_ManualMotionActive)