Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluetooth: mesh: health_srv: update k_work API #33157

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

pabigot
Copy link
Collaborator

@pabigot pabigot commented Mar 8, 2021

Switch to new work API. Avoid a racy cancel by allowing the work
handler to deal with an immediate off when the time remaining changes
to zero.

Signed-off-by: Peter Bigot [email protected]

Switch to new work API.  Avoid a racy cancel by allowing the work
handler to deal with an immediate off when the time remaining changes
to zero.

Signed-off-by: Peter Bigot <[email protected]>
@pabigot
Copy link
Collaborator Author

pabigot commented Mar 8, 2021

Note to reviewers: in the absence of a meaningful sample I can't test this; please verify that it works.

Copy link
Contributor

@trond-snekvik trond-snekvik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, works.

@jhedberg jhedberg merged commit 81b9ba3 into zephyrproject-rtos:master Mar 10, 2021
@pabigot pabigot deleted the nordic/20210308e branch March 15, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants