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

Potential code typo in examples/device/uac2_headset #2502

Open
1 task done
szsam opened this issue Mar 1, 2024 · 1 comment
Open
1 task done

Potential code typo in examples/device/uac2_headset #2502

szsam opened this issue Mar 1, 2024 · 1 comment
Labels

Comments

@szsam
Copy link

szsam commented Mar 1, 2024

Operating System

Linux

Board

N/A

Firmware

examples/device/uac2_headset/src/main.c

What happened ?

else if (UAC2_ENTITY_SPK_FEATURE_UNIT && request->bControlSelector == AUDIO_FU_CTRL_VOLUME)

The condition UAC2_ENTITY_SPK_FEATURE_UNIT looks unusual (it is always true). Is this intentional?

How to reproduce ?

N/A

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

N/A

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@szsam szsam added the Bug 🐞 label Mar 1, 2024
@HiFiPhile
Copy link
Collaborator

Yeah, fixed in #2328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants