More attempts to detect the slewing character

This commit is contained in:
2021-04-23 19:11:45 +01:00
parent b27adf2649
commit 384deecc3f
2 changed files with 10 additions and 2 deletions
+8 -2
View File
@@ -2107,12 +2107,18 @@ namespace ASCOM.Meade.net
return isSlewing;
}
if (result.Contains("[7F]"))
if (result.Equals("[7F]"))
{
isSlewing = true;
return isSlewing;
}
if (result.Equals("\x00ff"))
{
isSlewing = true;
return isSlewing;
}
////classic LX200 return bar with 32 chars. FF is contained from left to right when slewing
//byte[] ba = Encoding.Default.GetBytes(result);
////replace fill chars not belonging to a slew bar. Are there others? The bar character is a FF in hex.