diff --git a/HSMonitor/Services/SerialMonitorService.cs b/HSMonitor/Services/SerialMonitorService.cs index bcec82c..1e5210d 100644 --- a/HSMonitor/Services/SerialMonitorService.cs +++ b/HSMonitor/Services/SerialMonitorService.cs @@ -3,6 +3,7 @@ using System.Text.Json; using HSMonitor.Utils.Logger; using HSMonitor.Utils.Serial; +using HSMonitor.Utils.Usb.Serial; namespace HSMonitor.Services; @@ -50,8 +51,6 @@ private void SendInformationToMonitor(object? sender, EventArgs args) var jsonData = JsonSerializer .Serialize(message) .Select(s => (byte) s); - if (!_settingsService.Settings.IsDeviceBackwardCompatibilityEnabled) - jsonData = jsonData.Append((byte)'\0'); if (_serial.CheckAccess()) { try