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

kernel/os: Update os_assert_cb to match assert_func #3349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrzej-kaczmarek
Copy link
Contributor

This updates os_assert_cb prototype to match assert_func. This allows to get proper assert information in callback e.g. for logging.

Note that this breaks API, but since updates in other projects are trivial I'd like to get this merged. A good example why this is useful is a blehci app which can use os_assert_cb to log asserts system-wide via HCI vs event: apache/mynewt-nimble#1930

This updates os_assert_cb prototype to match assert_func. This allows to
get proper assert information in callback e.g. for logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants