From: Matheus Moreira Date: Mon, 26 Aug 2024 12:14:29 +0000 (-0300) Subject: Merge PR #439 - fix scheduled task misses X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=c7413322a5023fac1f50c837c8ef809660fbbfa1;p=sensor-watch.git Merge PR #439 - fix scheduled task misses The movement was checking for scheduled tasks by comparing for equality their scheduled times to the current time. However, it is possible that the time has moved past the scheduled time by the time the function executes, leading to scheduled tasks not being executed and therefore to missed deadlines. Changing it to `<=` fixes the problem by taking that possibility into account. Helped-by: Wesley Ellis Reviewed-by: Matheus Afonso Martins Moreira GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/439 --- c7413322a5023fac1f50c837c8ef809660fbbfa1