Skip to content

fix uac2_headset example#841

Merged
hathach merged 1 commit into
hathach:masterfrom
noodlefighter:fix-uac2_headset
May 20, 2021
Merged

fix uac2_headset example#841
hathach merged 1 commit into
hathach:masterfrom
noodlefighter:fix-uac2_headset

Conversation

@noodlefighter
Copy link
Copy Markdown
Contributor

Describe the PR

type of bRequest should be uint8_t, not enumerate...

size of a enum is dynamic, it will break the program in some complier(such as xtensa-esp32s2-elf-gcc), error logging like:

Get request not handled, entity = 0, selector = 8, request = 131330

Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

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

yup, you are spot on, Thank you very much for the PR.

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