Update CommunicationStreamDebugging.cs

Removed unneeded change to convert item to string.
This commit is contained in:
Alex Johnson
2020-10-15 16:52:24 -04:00
committed by GitHub
parent 3d7bc32b8a
commit c253007def

View File

@@ -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
}
}
}