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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user