Skip to content

Conversation

@harbi-eng
Copy link
Contributor

Replaced division/mod operations with bitwise shifts (>> 3, & 7) for better performance on MCUs in the following macros

  • nmbs_bitfield_reset
  • nmbs_bitfield_write
  • nmbs_bitfield_unset
  • nmbs_bitfield_set
  • nmbs_bitfield_read

@debevv debevv merged commit e390855 into debevv:master Jun 26, 2025
1 of 4 checks passed
@debevv
Copy link
Owner

debevv commented Jun 26, 2025

Thank you

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.

2 participants