mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power
This commit is contained in:
parent
def612e7b7
commit
0aa42f1914
@ -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...
|
||||
|
Loading…
x
Reference in New Issue
Block a user