We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 337bc0b commit 323e567Copy full SHA for 323e567
src/utility/time/TimedAttempt.cpp
@@ -54,8 +54,8 @@ unsigned long TimedAttempt::retry() {
54
unsigned long TimedAttempt::reload() {
55
unsigned long retryDelay = (1 << _retryCount) * _minDelay;
56
_retryDelay = min(retryDelay, _maxDelay);
57
- _nextRetryTick = millis() + retryDelay;
58
- return retryDelay;
+ _nextRetryTick = millis() + _retryDelay;
+ return _retryDelay;
59
}
60
61
void TimedAttempt::reset() {
0 commit comments