Added a check to the telescope to ensure that this is only triggered for the LX200CLASSIC other scopes do not need to the extra work.

This commit is contained in:
2021-01-17 18:23:20 +00:00
parent 927d6bce47
commit 902d6bbc6e
+3
View File
@@ -515,6 +515,9 @@ namespace ASCOM.Meade.net
/// </summary> /// </summary>
private bool IsTargetCoordinateInitRequired() private bool IsTargetCoordinateInitRequired()
{ {
if (SharedResourcesWrapper.ProductName != TelescopeList.LX200CLASSIC)
return false;
if (!_isTargetCoordinateInitRequired) if (!_isTargetCoordinateInitRequired)
return _isTargetCoordinateInitRequired; return _isTargetCoordinateInitRequired;