Corrected timeout
This commit is contained in:
parent
776125e259
commit
cb2d0f5346
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ inline bool modbus::modbus_connect()
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
const DWORD timeout = 20;
|
const DWORD timeout = 20000;
|
||||||
#else
|
#else
|
||||||
struct timeval timeout
|
struct timeval timeout
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue