-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
was: allow cancel active notify_task from WAS
This is a bit tricky as in FreeRTOS we cannot get the task data from a running task. Therefore, change notify_active to a pointer to struct notify_data we pass to the notify task, and add a member cancel to cancel the running task. While at it, also free the task data memory at the end to not leak memory.
- Loading branch information
1 parent
f937658
commit 167dcf2
Showing
1 changed file
with
21 additions
and
5 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