Skip to content

Commit a0c9dcd

Browse files
committed
TimedAttempt: allow to build TimedAttempt class tests
1 parent e940c43 commit a0c9dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/time/TimedAttempt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unsigned long TimedAttempt::retry() {
5858
unsigned long TimedAttempt::reload() {
5959
unsigned long shift = _retryCount > 31 ? 31 : _retryCount;
6060
unsigned long delay = (1UL << shift) * _minDelay;
61-
_retryDelay = min(delay, _maxDelay);
61+
_retryDelay = std::min(delay, _maxDelay);
6262
_retryTick = millis();
6363
return _retryDelay;
6464
}

0 commit comments

Comments
 (0)