Skip to content

Commit

Permalink
Need to reset sky tracking target after a manual slew is done
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Jan 9, 2024
1 parent 9de3343 commit d8dfba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/telescope/skywatcherAPIMount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8dfba3

Please sign in to comment.