From da7a692a7b37cb7dd280ad14e64c83244c8617c2 Mon Sep 17 00:00:00 2001 From: LeiYangGH <675686066@qq.com> Date: Thu, 2 Mar 2017 22:53:26 +0800 Subject: [PATCH] merge commit 90ad497d35337dacbeb0bc6c284bd0b91df0cf6b --- PInvokeSerialPort/SerialPort.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PInvokeSerialPort/SerialPort.cs b/PInvokeSerialPort/SerialPort.cs index 5d8a644..f0b86c8 100755 --- a/PInvokeSerialPort/SerialPort.cs +++ b/PInvokeSerialPort/SerialPort.cs @@ -711,8 +711,8 @@ namespace PInvokeSerialPort get { return _handShake; } set { - Handshake = value; - switch (Handshake) + _handShake = value; + switch (_handShake) { case Handshake.None: TxFlowCts = false; TxFlowDsr = false; TxFlowX = false;