mirror of https://github.com/rusefi/rusefi.git
Blink faster if not connected https://github.com/rusefi/rusefi/issues/6246
This commit is contained in:
parent
d5f2e98b1d
commit
aface69ef0
|
@ -50,7 +50,9 @@ protected:
|
||||||
palTogglePad(greenPort, greenPin);
|
palTogglePad(greenPort, greenPin);
|
||||||
}
|
}
|
||||||
// blink 3 times faster if Dual Bank is not enabled
|
// blink 3 times faster if Dual Bank is not enabled
|
||||||
chThdSleepMilliseconds(isFlashDualBank() ? 250 : 80);
|
auto delay = isFlashDualBank() ? 125 : 40;
|
||||||
|
// blink faster if not in the waiting mode
|
||||||
|
chThdSleepMilliseconds(waitedLongerThanTimeout ? (delay * 2) : delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue