. 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
+2 -2
View File
@@ -111,9 +111,9 @@ namespace ASCOM.Meade.net
try
{
var result = SharedSerial.ReceiveTerminated("#").TrimEnd('#');
var result = SharedSerial.ReceiveTerminated("#");
traceLogger.LogMessage("SendString", $"Received {result}", false);
return result;
return result.TrimEnd('#');
}
catch (COMException ex)
{