Skip to content

Commit

Permalink
Do not query mount if mount is already parked
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Aug 29, 2023
1 parent a37a9a9 commit 9d51133
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/telescope/ioptronv3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ bool IOptronV3::ReadScopeStatus()
if (isSimulation())
mountSim();

// Do not query mount if parked already.
if (TrackState == SCOPE_PARKED)
return true;

rc = driver->getStatus(&newInfo);

if (rc)
Expand Down

0 comments on commit 9d51133

Please sign in to comment.