Modified the code again, so that the _forceSlewingCount is done last, so that it's at up to date as possible.

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