From 232f5a6f9a31b3f0f92b7360f9f4dfd8e4f736b8 Mon Sep 17 00:00:00 2001 From: jack0126 <45025728+jack0126@users.noreply.github.com> Date: Fri, 12 Nov 2021 16:44:08 +0800 Subject: [PATCH] Add files via upload --- jack/win32/comm/SerialPort.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jack/win32/comm/SerialPort.java b/jack/win32/comm/SerialPort.java index 39a4c7d..63fe4ec 100644 --- a/jack/win32/comm/SerialPort.java +++ b/jack/win32/comm/SerialPort.java @@ -343,7 +343,7 @@ public void setDtrEnable(boolean dtrEnable) { * @return */ public boolean isRtsEnable() { - return isOpen() ? internalSerialStream.isRtsEnable() : rtsEnable; + return rtsEnable; } /**