Skip to content

Commit

Permalink
Merge pull request #12 from v-zhuravlev/timeout_test
Browse files Browse the repository at this point in the history
fixes #11 
version 0.5
  • Loading branch information
v-zhuravlev authored Oct 31, 2016
2 parents 483cb77 + 9a7566d commit b2b6866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([libzbxmodbus], [0.4])
AC_INIT([libzbxmodbus], [0.5)
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/modbus.c])
Expand Down
2 changes: 1 addition & 1 deletion src/modbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ int zbx_modbus_read_registers(AGENT_REQUEST *request, AGENT_RESULT *result)
modbus_set_response_timeout(ctx, &response_timeout);
*/
//modbus_set_response_timeout(ctx, 10, 0);
modbus_set_response_timeout(ctx, item_timeout, 0);

//read part

Expand Down

0 comments on commit b2b6866

Please sign in to comment.