]> begriffs open source - freertos/commit
Fix: Two one line fixes, xTaskCheckForTimeOut() and ulTaskGenericNotifyValueClear...
authorRichardBarry <3073890+RichardBarry@users.noreply.github.com>
Sun, 9 Aug 2020 23:18:57 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Sun, 9 Aug 2020 23:18:57 +0000 (16:18 -0700)
commit55da9591c02546e6b189a8dadf3923e7ef80bd1f
tree45f44b8210a10d5efd28f0c0f2437097a217c34a
parent287361091bee44770704ffa2b4ce2b7580ad716b
Fix: Two one line fixes, xTaskCheckForTimeOut() and ulTaskGenericNotifyValueClear(). (#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.
tasks.c