Skip to content

Commit b2b6866

Browse files
authored
Merge pull request #12 from v-zhuravlev/timeout_test
fixes #11 version 0.5
2 parents 483cb77 + 9a7566d commit b2b6866

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([libzbxmodbus], [0.4])
1+
AC_INIT([libzbxmodbus], [0.5)
22
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
33
AC_CONFIG_MACRO_DIR([m4])
44
AC_CONFIG_SRCDIR([src/modbus.c])

src/modbus.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ int zbx_modbus_read_registers(AGENT_REQUEST *request, AGENT_RESULT *result)
287287
288288
modbus_set_response_timeout(ctx, &response_timeout);
289289
*/
290-
//modbus_set_response_timeout(ctx, 10, 0);
290+
modbus_set_response_timeout(ctx, item_timeout, 0);
291291

292292
//read part
293293

0 commit comments

Comments
 (0)