Fixed logic for LX200 Classic is slewing test

This commit is contained in:
2020-09-24 22:01:52 +01:00
parent c34ed41ddf
commit 1b73bb62b6
3 changed files with 31 additions and 12 deletions
+2 -2
View File
@@ -1883,9 +1883,9 @@ namespace ASCOM.Meade.net
}
var trimmedResult = result.Trim();
var isResultEmpty = trimmedResult != string.Empty;
var isResultEmpty = trimmedResult == string.Empty;
var isSlewing = isResultEmpty;
var isSlewing = !isResultEmpty;
if (!isResultEmpty) //the LX-200 can return crap from the buffer when it's not slewing so let's try to filter that out.
{