Tweaked the code so that the _forceInternal variable doesn't care about if the scope is connected or not.

This commit is contained in:
2024-12-24 17:00:03 +00:00
parent 431776cfdf
commit 6aa19b869b
+6 -5
View File
@@ -3267,15 +3267,16 @@ namespace ASCOM.Meade.net
private bool GetSlewing(bool isInternalCall) private bool GetSlewing(bool isInternalCall)
{ {
var result = false; var result = false;
if (!isInternalCall)
{
result = _forceSlewingCount > 0;
}
try try
{ {
if (Connected) if (Connected)
{ {
if (!isInternalCall)
{
result = _forceSlewingCount > 0;
}
result = result || MovingAxis() || IsSlewingToTarget(); result = result || MovingAxis() || IsSlewingToTarget();
} }
} }