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 4eab7e4 commit b5285c3Copy full SHA for b5285c3
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