Merge pull request #1 from tswachter/master

Fix set of public Handshake interface to remove circular reference.
This commit is contained in:
ebraminio 2017-03-03 21:06:22 +03:30 committed by GitHub
commit 35f6f5107e

View File

@ -709,8 +709,8 @@ namespace PInvokeSerialPort
get { return _handShake; } get { return _handShake; }
set set
{ {
Handshake = value; _handShake = value;
switch (Handshake) switch (_handShake)
{ {
case Handshake.None: case Handshake.None:
TxFlowCts = false; TxFlowDsr = false; TxFlowX = false; TxFlowCts = false; TxFlowDsr = false; TxFlowX = false;