Skip to content
Commit 9006780d authored by Tomasz Moń's avatar Tomasz Moń Committed by Benjamin Cabé
Browse files

usb: device_next: Update IAD first interface on init



IAD must be before the interfaces it associates and therefore there is
no need for the class to be in charge of updating the bFirstInterface.
Update IAD in common initialization code and remove the updates from
classes.

This fixes UAC2 instances where the IAD bFirstInterface is not 0, e.g.
when HID was used together with UAC2.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent c3cb5bd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment