Slight modification to make sure that the focuser is poked less often

This commit is contained in:
2019-06-08 20:34:54 +01:00
parent 22de5679b7
commit 4c92bf13c2
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -352,13 +352,13 @@ namespace ASCOM.Meade.net
//A single halt command is sometimes missed by the #909 apm, so let's do it a few times to be safe.
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch.ElapsedMilliseconds < 200)
while (stopwatch.ElapsedMilliseconds < 1000)
{
SharedResources.SendBlind(":FQ#");
//:FQ# Halt Focuser Motion
//Returns: Nothing
utilities.WaitForMilliseconds(50);
utilities.WaitForMilliseconds(250);
}
}
@@ -461,7 +461,7 @@ namespace ASCOM.Meade.net
//:F-# Start Focuser moving outward (away from objective)
//Returns: None
utilities.WaitForMilliseconds(50);
utilities.WaitForMilliseconds(250);
}
Halt();