mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Lengthen LuaRPC timeout over serial.
This commit is contained in:
parent
286f1263df
commit
aee02c2986
@ -41,7 +41,7 @@ void transport_open( Transport *tpt, const char *path )
|
||||
}
|
||||
|
||||
ser_setup( tpt->fd, 115200, SER_DATABITS_8, SER_PARITY_NONE, SER_STOPBITS_1 );
|
||||
ser_set_timeout_ms( tpt->fd, 1000 );
|
||||
ser_set_timeout_ms( tpt->fd, 10000 );
|
||||
}
|
||||
|
||||
// Open Listener / Server
|
||||
|
Loading…
x
Reference in New Issue
Block a user