Closed hg closed 3 years ago
Huh, funny, seems so obvious now you mention it! :)
Thank you for the PR. As far as I can tell your change is correct. I'll merge it soon, just checking my other projects in case I inadvertently copy/pasted it into those...
Thank you for this - seems I've been making this mistake for a long time, in a lot of projects. I appreciate the heads-up.
Thank you for the example and this wonderful library, they've been very helpful.
There's a small issue with using
vTaskDelayUntil
, which (I think?) makes it perform the same asvTaskDelay
: the last wake time is reset on each measurement loop iteration.If we look at the FreeRTOS docs for this function:
and the accompanying example: