Added an extra test to Slewing so that if connected will check with the mount to see if it's actually slewing, which is should have been doing

This commit is contained in:
2024-11-18 20:21:10 +00:00
parent 04c2f5e1bb
commit 7554c1e213
2 changed files with 37 additions and 9 deletions
+4 -2
View File
@@ -2998,6 +2998,8 @@ namespace ASCOM.Meade.net
throw new ASCOM.InvalidOperationException("Cannot start a slew whilst slew is in progress.");
}
switch (polar)
{
case true:
@@ -3212,8 +3214,8 @@ namespace ASCOM.Meade.net
{
try
{
var isSlewing = GetSlewing();
var isSlewing = GetSlewing() || (IsConnected && IsSlewingToTarget());
if (isSlewing)
SetSlewingMinEndTime();
else if (_clock.UtcNow < SharedResourcesWrapper.EarliestNonSlewingTime)