We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a9d25b commit 1d68d42Copy full SHA for 1d68d42
cores/esp8266/PolledTimeout.h
@@ -260,7 +260,7 @@ class timeoutTemplate
260
timeType current = TimePolicyT::time();
261
if(checkExpired(current))
262
{
263
- unsigned long n = (current - _start) / _timeout; //how many _timeouts periods have elapsed, will usually be 1 (current - _start >= _timeout)
+ timeType n = (current - _start) / _timeout; //how many _timeouts periods have elapsed, will usually be 1 (current - _start >= _timeout)
264
_start += n * _timeout;
265
return true;
266
}
0 commit comments