We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e940c43 commit a0c9dcdCopy full SHA for a0c9dcd
src/utility/time/TimedAttempt.cpp
@@ -58,7 +58,7 @@ unsigned long TimedAttempt::retry() {
58
unsigned long TimedAttempt::reload() {
59
unsigned long shift = _retryCount > 31 ? 31 : _retryCount;
60
unsigned long delay = (1UL << shift) * _minDelay;
61
- _retryDelay = min(delay, _maxDelay);
+ _retryDelay = std::min(delay, _maxDelay);
62
_retryTick = millis();
63
return _retryDelay;
64
}
0 commit comments