Skip to content

Conversation

arkhipenko
Copy link
Owner

No description provided.

arkhipenko added a commit that referenced this pull request Sep 23, 2015
Adding "Always disable on last iteration" to master
@arkhipenko arkhipenko merged commit 82bd27b into master Sep 23, 2015
@arkhipenko arkhipenko deleted the disable-on-last-iteration branch September 23, 2015 02:41
JimF42 added a commit to JimF42/TaskScheduler that referenced this pull request Nov 29, 2015
Based upon http://arduino.stackexchange.com/a/12588/10648, the extra
code for _TASK_ROLLOVER_FIX should not be needed if the math is done
slightly different. I updated the code and did some quick tests and it
appears correct. Example arkhipenko#6 returns the same values for IDLE, but a few
less ms when not compiled with IDLE. Using the setMillis() function in
the SO posting, I did some quick tests with Example arkhipenko#2. using
setMillis(-3000) sets the millis() value to 3 seconds before rollover.
Task arkhipenko#1 gets an extra catch-up hit, but not Task arkhipenko#2. But, it works the
same as the original code though when using setMillis(-3000).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant