From 0aa42f19141e078ee1a98e7f44d01074e1013a88 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Fri, 19 Jul 2013 15:18:55 +0200 Subject: [PATCH] Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power --- hardware/arduino/avr/libraries/Bridge/Bridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/arduino/avr/libraries/Bridge/Bridge.cpp b/hardware/arduino/avr/libraries/Bridge/Bridge.cpp index bc52b7b13..a3d911fd4 100644 --- a/hardware/arduino/avr/libraries/Bridge/Bridge.cpp +++ b/hardware/arduino/avr/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...