diff --git a/src/java/jssc/SerialNativeInterface.java b/src/java/jssc/SerialNativeInterface.java index 2c3965b..59d312c 100644 --- a/src/java/jssc/SerialNativeInterface.java +++ b/src/java/jssc/SerialNativeInterface.java @@ -261,7 +261,7 @@ public class SerialNativeInterface { * * @return handle of opened port or -1 if opening of the port was unsuccessful */ - public native int openPort(String portName); + public native int openPort(String portName, boolean useTIOCEXCL, boolean invokedByPortList); /** * Setting the parameters of opened port