internal CSharpSerialPortWrapper(string serialPortName) { if (FrostedSerialPortFactory.GetAppropriateFactory("RepRap").IsWindows) { try { SerialPortFixer.Execute(serialPortName); } catch (Exception) { } } port = new System.IO.Ports.SerialPort(serialPortName); }
internal CSharpSerialPortWrapper(string serialPortName) { if (FrostedSerialPortFactory.Instance.IsWindows) { try { SerialPortFixer.Execute(serialPortName); } catch (Exception) { } } port = new System.IO.Ports.SerialPort(serialPortName); }