1
0
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:
James Snyder 2011-05-02 17:39:00 -05:00
parent 286f1263df
commit aee02c2986

View File

@ -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