Update SerialPort.cs

This commit is contained in:
Benjamin Höglinger-Stelzer 2024-07-13 15:42:22 +02:00
parent 80af3469f4
commit 51033e2ae0

View File

@ -44,18 +44,12 @@ public partial class SerialPort : IDisposable
}
/// <inheritdoc />
/// <summary>
/// Class constructor
/// </summary>
public SerialPort(string portName, int baudRate) : this(portName)
{
BaudRate = baudRate;
}
/// <inheritdoc />
/// <summary>
/// For IDisposable
/// </summary>
public void Dispose()
{
Close();