From c253007def2e1136680ddcf91ce5ff4bb4a1dbf0 Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 15 Oct 2020 16:52:24 -0400 Subject: [PATCH] Update CommunicationStreamDebugging.cs Removed unneeded change to convert item to string. --- .../Pepperdash Core/Comm/CommunicationStreamDebugging.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs b/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs index 1e9603e..4248203 100644 --- a/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs +++ b/Pepperdash Core/Pepperdash Core/Comm/CommunicationStreamDebugging.cs @@ -97,7 +97,7 @@ namespace PepperDash.Core if ((setting & eStreamDebuggingSetting.Tx) == eStreamDebuggingSetting.Tx) TxStreamDebuggingIsEnabled = true; - Debug.SetDeviceDebugSettings(ParentDeviceKey, setting.ToString()); + Debug.SetDeviceDebugSettings(ParentDeviceKey, setting); } @@ -116,7 +116,7 @@ namespace PepperDash.Core RxStreamDebuggingIsEnabled = false; TxStreamDebuggingIsEnabled = false; - Debug.SetDeviceDebugSettings(ParentDeviceKey, eStreamDebuggingSetting.Off.ToString()); + Debug.SetDeviceDebugSettings(ParentDeviceKey, eStreamDebuggingSetting.Off); } } @@ -131,4 +131,4 @@ namespace PepperDash.Core Tx = 2, Both = Rx | Tx } -} \ No newline at end of file +}