diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-07-19 15:18:55 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-07-19 15:18:55 +0200 |
commit | 452be966bc7e9bd0955932274aed731c12d036f7 (patch) | |
tree | 665a5904968b1bed76e25055f7a71f8508b987a3 /libraries/Bridge/Bridge.cpp | |
parent | 92cb63b843604f07a153c5eb893582638250a3c3 (diff) |
Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power
Diffstat (limited to 'libraries/Bridge/Bridge.cpp')
-rw-r--r-- | libraries/Bridge/Bridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Bridge/Bridge.cpp b/libraries/Bridge/Bridge.cpp index bc52b7b..a3d911f 100644 --- a/libraries/Bridge/Bridge.cpp +++ b/libraries/Bridge/Bridge.cpp @@ -59,7 +59,7 @@ void BridgeClass::begin() { // Reset the brigde to check if it is running uint8_t cmd[] = {'X','X', '1','0','0'}; uint8_t res[1]; - max_retries = 20; + max_retries = 50; uint16_t l = transfer(cmd, 5, res, 1); if (l == TRANSFER_TIMEOUT) { // Bridge didn't start... |