From 452be966bc7e9bd0955932274aed731c12d036f7 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Fri, 19 Jul 2013 15:18:55 +0200 Subject: Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power --- libraries/Bridge/Bridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries') 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... -- cgit v1.2.3-18-g5258