Added a trim, so that whitespace is ignored when seeing the result of is slewing to target.

This commit is contained in:
2020-05-24 18:30:46 +01:00
parent 2c7de157e8
commit 855a21122a
+1 -1
View File
@@ -1996,7 +1996,7 @@ namespace ASCOM.Meade.net
return false;
}
bool isSlewing = result != string.Empty;
bool isSlewing = result.Trim() != string.Empty;
LogMessage("Slewing Get", $"Result = {isSlewing}");
return isSlewing;