Skip to content

Conversation

dleach02
Copy link
Member

@dleach02 dleach02 commented Oct 9, 2025

Return the various macros to using simple hex values for bit masking. The use of the BIT_MASK macro causes the return value to change size producing build errors in format print strings.

Fixes #97242

Return the various macros to using simple hex values for bit masking.
The use of the BIT_MASK macro causes the return value to change size
producing build errors in format print strings.

Fixes zephyrproject-rtos#97242

Signed-off-by: David Leach <[email protected]>
@dleach02
Copy link
Member Author

dleach02 commented Oct 9, 2025

ping @titouanc

@zephyrbot zephyrbot added area: USB Universal Serial Bus area: Samples Samples area: Audio labels Oct 9, 2025
@dleach02 dleach02 added the Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. label Oct 9, 2025
Copy link

sonarqubecloud bot commented Oct 9, 2025

Copy link
Contributor

@hakehuang hakehuang left a comment

Choose a reason for hiding this comment

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

regression test PASS

@titouanc
Copy link
Contributor

Sorry @dleach02 I only see your PR now, after opening another one here: #97324

Note that there are a few other UMP_ macros down in this file that also use BIT_MASK that I updated in my PR

@tmon-nordic
Copy link
Contributor

Sorry @dleach02 I only see your PR now, after opening another one here: #97324

I approved 97324 instead of this one due to better commit message.

@dleach02
Copy link
Member Author

dleach02 commented Oct 10, 2025

Sorry @dleach02 I only see your PR now, after opening another one here: #97324

I approved 97324 instead of this one due to better commit message.

LOL... no problem. I'll close mine and defer to the primary author's PR

@dleach02 dleach02 closed this Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Audio area: Samples Samples area: USB Universal Serial Bus Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samples: usb: sample.usb_device_next.midi: build failure on NXP series platforms

6 participants