Removed unneeded lock and will cause a lock recursion and break things.
This commit is contained in:
@@ -2291,14 +2291,11 @@ namespace ASCOM.Meade.net
|
||||
CheckConnected("SlewToCoordinatesAsync");
|
||||
CheckParked();
|
||||
|
||||
SharedResourcesWrapper.Lock(() =>
|
||||
{
|
||||
TargetRightAscension = rightAscension;
|
||||
TargetDeclination = declination;
|
||||
TargetRightAscension = rightAscension;
|
||||
TargetDeclination = declination;
|
||||
DoSlewAsync(true);
|
||||
|
||||
DoSlewAsync(true);
|
||||
}
|
||||
);
|
||||
LogMessage("SlewToCoordinatesAsync", $"Completed Ra={rightAscension}, Dec={declination}");
|
||||
}
|
||||
|
||||
public void SlewToTarget()
|
||||
|
||||
Reference in New Issue
Block a user