forked from aws/amazon-freertos
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If xTaskIncrementTick is called while the scheduler is suspended then OS tick counter update is delayed. vPortSuppressTicksAndSleep is always called with suspended scheduler, so timer deadline in ccompare SR may not correspong to the current OS tick. Count ticks separately in the port and use that counter to calculate future timer deadlines. Signed-off-by: Max Filippov <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters