Skip to content

Commit

Permalink
Be sure the telescope can send coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
pchev committed Mar 3, 2019
1 parent d40624b commit dd9d752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skychart/pu_indiclient.lfm
Expand Up @@ -278,7 +278,7 @@ object pop_indi: Tpop_indi
end
object InitTimer: TTimer
Enabled = False
Interval = 30000
Interval = 20000
OnTimer = InitTimerTimer
left = 232
end
Expand Down
2 changes: 1 addition & 1 deletion skychart/pu_indiclient.pas
Expand Up @@ -803,7 +803,7 @@ procedure Tpop_indi.InitTimerTimer(Sender: TObject);
ok: boolean;
begin
InitTimer.Enabled := False;
if TelescopeDevice = nil then
if (TelescopeDevice = nil) or (coord_prop = nil) then
begin
ScopeDisconnect(ok);
if csc.IndiAutostart then
Expand Down

0 comments on commit dd9d752

Please sign in to comment.