We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8c7c36 + b7386a0 commit 8c62835Copy full SHA for 8c62835
freemodbus/tcp_slave/port/port_tcp_slave.c
@@ -60,7 +60,7 @@
60
#if MB_TCP_ENABLED
61
62
/* ----------------------- Defines -----------------------------------------*/
63
-#define MB_TCP_DISCONNECT_TIMEOUT ( CONFIG_FMB_TCP_CONNECTION_TOUT_SEC * 1000000 ) // disconnect timeout in uS
+#define MB_TCP_DISCONNECT_TIMEOUT ( CONFIG_FMB_TCP_CONNECTION_TOUT_SEC * 1000000UL ) // disconnect timeout in uS
64
#define MB_TCP_RESP_TIMEOUT_MS ( MB_MASTER_TIMEOUT_MS_RESPOND - 1 ) // slave response time limit
65
#define MB_TCP_NET_LISTEN_BACKLOG ( SOMAXCONN )
66
0 commit comments