From 273e1323214cc0a113c9a70b5d40ec8b78ef81b4 Mon Sep 17 00:00:00 2001 From: scream3r Date: Wed, 17 Apr 2013 17:24:55 +0400 Subject: [PATCH] Added useTIOCEXCL and invokedByPortList keys into native openPort() method --- src/java/jssc/SerialNativeInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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