You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/06/28 12:45:26 UTC

[incubator-plc4x] branch feature/mobbus-support-with-lib updated: modbus bugfix don't wait for session complete

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch feature/mobbus-support-with-lib
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/feature/mobbus-support-with-lib by this push:
     new 1ee4886  modbus bugfix don't wait for session complete
1ee4886 is described below

commit 1ee488616abf47b17eef9e6389f75aadf3714fd9
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Jun 28 14:45:10 2018 +0200

    modbus bugfix don't wait for session complete
---
 .../apache/plc4x/java/modbus/connection/BaseModbusPlcConnection.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/connection/BaseModbusPlcConnection.java b/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/connection/BaseModbusPlcConnection.java
index cb07a30..5c3fcdf 100644
--- a/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/connection/BaseModbusPlcConnection.java
+++ b/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/connection/BaseModbusPlcConnection.java
@@ -36,7 +36,7 @@ public abstract class BaseModbusPlcConnection extends AbstractPlcConnection impl
     private static final Logger logger = LoggerFactory.getLogger(BaseModbusPlcConnection.class);
 
     protected BaseModbusPlcConnection(ChannelFactory channelFactory, String params) {
-        super(channelFactory, true);
+        super(channelFactory );
 
         if (!StringUtils.isEmpty(params)) {
             for (String param : params.split("&")) {