Skip to content

Commit 0aa42f1

Browse files
author
Federico Fissore
committed
Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power
1 parent def612e commit 0aa42f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/libraries/Bridge/Bridge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void BridgeClass::begin() {
5959
// Reset the brigde to check if it is running
6060
uint8_t cmd[] = {'X','X', '1','0','0'};
6161
uint8_t res[1];
62-
max_retries = 20;
62+
max_retries = 50;
6363
uint16_t l = transfer(cmd, 5, res, 1);
6464
if (l == TRANSFER_TIMEOUT) {
6565
// Bridge didn't start...

0 commit comments

Comments
 (0)