mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Bridge: Bridge.begin should wait more before giving up, as other processes may consume linux cpu power
This commit is contained in:
@ -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...
|
||||
|
Reference in New Issue
Block a user