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
+5 -6
View File
@@ -3268,16 +3268,15 @@ namespace ASCOM.Meade.net
{
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