. doing the trim of the trailing # after writing the log message.

. for LX800 scopes, trying to use a send string instead of send chars for GW command.
This commit is contained in:
2023-02-18 22:37:47 +00:00
parent 5678285e0e
commit c673e0c7d6
2 changed files with 10 additions and 3 deletions
+8 -1
View File
@@ -428,7 +428,14 @@ namespace ASCOM.Meade.net
// https://bitbucket.org/cjdskunkworks/meadeautostar497/issues/24/get-set-tracking#comment-60586901
if (command == (raw ? ":GW#" : "GW"))
{
result = SharedResourcesWrapper.SendChars(Tl, command, raw, count: 3);
switch (SharedResourcesWrapper.ProductName)
{
case TelescopeList.LX800:
result = SharedResourcesWrapper.SendString(Tl, command, raw);
break;
default:
result = SharedResourcesWrapper.SendChars(Tl, command, raw, count: 3);
}
}
else
{