Update SerialPort.cs
This commit is contained in:
parent
80af3469f4
commit
51033e2ae0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user