Added a trim, so that whitespace is ignored when seeing the result of is slewing to target.
This commit is contained in:
@@ -1996,7 +1996,7 @@ namespace ASCOM.Meade.net
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isSlewing = result != string.Empty;
|
bool isSlewing = result.Trim() != string.Empty;
|
||||||
|
|
||||||
LogMessage("Slewing Get", $"Result = {isSlewing}");
|
LogMessage("Slewing Get", $"Result = {isSlewing}");
|
||||||
return isSlewing;
|
return isSlewing;
|
||||||
|
|||||||
Reference in New Issue
Block a user