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 92cb63b843
commit 452be966bc
1 changed files with 1 additions and 1 deletions

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