Skip to content

Commit

Permalink
celestron-aux bugfix: track target was not updated after manual slew
Browse files Browse the repository at this point in the history
  • Loading branch information
ijessen committed Dec 20, 2023
1 parent ea3b127 commit 0e1ef35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indi-celestronaux/celestronaux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ bool CelestronAUX::MoveNS(INDI_DIR_NS dir, TelescopeMotionCommand command)
m_AxisStatus[AXIS_ALT] = (command == MOTION_START) ? SLEWING : STOPPED;
ScopeStatus = SLEWING_MANUAL;
TrackState = SCOPE_SLEWING;
m_ManualMotionActive |= (command == MOTION_START);
if (command == MOTION_START)
{
return slewByRate(AXIS_ALT, ((m_AxisDirection[AXIS_ALT] == FORWARD) ? 1 : -1) * rate);
Expand All @@ -1057,6 +1058,7 @@ bool CelestronAUX::MoveWE(INDI_DIR_WE dir, TelescopeMotionCommand command)
m_AxisStatus[AXIS_AZ] = (command == MOTION_START) ? SLEWING : STOPPED;
ScopeStatus = SLEWING_MANUAL;
TrackState = SCOPE_SLEWING;
m_ManualMotionActive |= (command == MOTION_START);
if (command == MOTION_START)
{
return slewByRate(AXIS_AZ, ((m_AxisDirection[AXIS_AZ] == FORWARD) ? 1 : -1) * rate);
Expand Down

0 comments on commit 0e1ef35

Please sign in to comment.