1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

GCS/USB-Increase USB write timeout, this prevents

PipX from becoming disconnected to the GCS.
TODO:Handle timeouts in a better way
This commit is contained in:
PT_Dreamer 2012-07-09 14:39:17 +01:00
parent 4d6484944e
commit 93f7494930

View File

@ -41,7 +41,7 @@ class IConnection;
static const int READ_TIMEOUT = 200;
static const int READ_SIZE = 64;
static const int WRITE_TIMEOUT = 200;
static const int WRITE_TIMEOUT = 1000;
static const int WRITE_SIZE = 64;