mirror of
https://github.com/espressif/esp-modbus.git
synced 2025-07-30 10:27:16 +02:00
Merge branch 'bugfix/fix_disconnect_timeout_handling_v1' into 'master'
slave fix incorrect disconnect timeout handling v1 Closes IDFGH-14951 See merge request idf/esp-modbus!116
This commit is contained in:
@ -60,7 +60,7 @@
|
|||||||
#if MB_TCP_ENABLED
|
#if MB_TCP_ENABLED
|
||||||
|
|
||||||
/* ----------------------- Defines -----------------------------------------*/
|
/* ----------------------- Defines -----------------------------------------*/
|
||||||
#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
|
||||||
#define MB_TCP_RESP_TIMEOUT_MS ( MB_MASTER_TIMEOUT_MS_RESPOND - 1 ) // slave response time limit
|
#define MB_TCP_RESP_TIMEOUT_MS ( MB_MASTER_TIMEOUT_MS_RESPOND - 1 ) // slave response time limit
|
||||||
#define MB_TCP_NET_LISTEN_BACKLOG ( SOMAXCONN )
|
#define MB_TCP_NET_LISTEN_BACKLOG ( SOMAXCONN )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user