1
0
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:
Federico Fissore
2013-07-19 15:18:55 +02:00
parent def612e7b7
commit 0aa42f1914

View File

@ -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...