Skip to content

Version 3.6.0

Compare
Choose a tag to compare
@arkhipenko arkhipenko released this 17 Dec 15:18
· 15 commits to master since this release
  • feature: added adjust method to Task object. adjust(int32_t delta) moves the entire schedule forward (positive delta) or backward (negative delta) by that many milliseconds (microseconds). This is helpful if for some reason you need to adjust the "start" time of scheduling to align with RTC "zero" seconds (for instance) or postpone one task while the other task is running.

  • feature: added example 27 demonstrating how to use TaskScheduler in PlatformIO projects.

  • feature: added _TASK_THREAD_SAFE compile option for instances of TaskScheduler running under preemptive schedulers like FreeRTOS. Under certain conditions, task scheduling was adversely affected and led to unexpected results. Enabling _TASK_THREAD_SAFE compile option eliminates such occurrences.