Merge pull request #85 from PepperDash/hotfix/commGather-debug

Hotfix/comm gather debug
This commit is contained in:
Neil Dorin
2020-12-21 14:41:49 -07:00
committed by GitHub

View File

@@ -123,13 +123,6 @@ namespace PepperDash.Core
{
// Receive buffer should either be empty or not contain the delimiter
// If the line does not have a delimiter, append the
if (Debug.Level >= 2)
{
var output = Regex.Replace(args.Text,
@"\p{Cc}",
a => string.Format("[{0:X2}]", (byte)a.Value[0]));
Debug.Console(2, Port, "RX: '{0}'", output);
}
ReceiveBuffer.Append(args.Text);
var str = ReceiveBuffer.ToString();