mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 13:14:49 +00:00
Merge pull request #84 from PepperDash/hotfix/commGather-debug
remove additional debug statement
This commit is contained in:
@@ -123,13 +123,6 @@ namespace PepperDash.Core
|
|||||||
{
|
{
|
||||||
// Receive buffer should either be empty or not contain the delimiter
|
// Receive buffer should either be empty or not contain the delimiter
|
||||||
// If the line does not have a delimiter, append the
|
// 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);
|
ReceiveBuffer.Append(args.Text);
|
||||||
var str = ReceiveBuffer.ToString();
|
var str = ReceiveBuffer.ToString();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user