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 c808a1a commit 66c00c1Copy full SHA for 66c00c1
cores/esp8266/PolledTimeout.h
@@ -261,7 +261,7 @@ class timeoutTemplate
261
timeType current = TimePolicyT::time();
262
if(checkExpired(current))
263
{
264
- 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)
265
_start += n * _timeout;
266
return true;
267
}
0 commit comments