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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}
}