mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
Merge pull request #85 from PepperDash/hotfix/commGather-debug
Hotfix/comm gather debug
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user