forked from FreeRTOS/FreeRTOS-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Two one line fixes, xTaskCheckForTimeOut() and ulTaskGenericNoti…
…fyValueClear(). (FreeRTOS#82) ulTaskGenericNotifyValueClear() returned the notification value of the currently running task, not the target task. Now it returns the notification value of the target task. Some users expected xTaskCheckForTimeOut() to clear the 'last wake time' value each time a timeout occurred, whereas it only did that in one path. It now clears the last wake time in all paths that return that a timeout occurred.
- Loading branch information
1 parent
2873610
commit 55da959
Showing
1 changed file
with
31 additions
and
30 deletions.
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