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

fix(events): Remove our usage of assert. #2115

Merged

Conversation

petejohanson
Copy link
Contributor

@petejohanson petejohanson commented Jan 14, 2024

  • __ASSERT is converted to a do/while loop when asserts are enabled,
    which doesn't work with our usage, so revert that addition.

Also adds a commit to enable asserts for our tests to catch this better next time.

* __ASSERT is converted to a do/while loop when asserts are enabled,
  which doesn't work with our usage, so revert that addition.
@petejohanson petejohanson requested a review from a team as a code owner January 14, 2024 23:52
@petejohanson petejohanson self-assigned this Jan 14, 2024
@petejohanson petejohanson linked an issue Jan 14, 2024 that may be closed by this pull request
@petejohanson petejohanson merged commit 0890aae into zmkfirmware:main Jan 15, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure with asserts enabled
1 participant