Skip to content

Commit 4a3ce33

Browse files
jfischer-nokartben
authored andcommitted
samples: usb: midi: use correct Class Code triple
USB MIDI2 implementation has IAD and should use an appropriate triple to indicate it. Signed-off-by: Johann Fischer <[email protected]>
1 parent 2914174 commit 4a3ce33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/subsys/usb/common/sample_usbd_init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ static void sample_fix_code_triple(struct usbd_context *uds_ctx,
7979
if (IS_ENABLED(CONFIG_USBD_CDC_ACM_CLASS) ||
8080
IS_ENABLED(CONFIG_USBD_CDC_ECM_CLASS) ||
8181
IS_ENABLED(CONFIG_USBD_CDC_NCM_CLASS) ||
82+
IS_ENABLED(CONFIG_USBD_MIDI2_CLASS) ||
8283
IS_ENABLED(CONFIG_USBD_AUDIO2_CLASS)) {
8384
/*
8485
* Class with multiple interfaces have an Interface

0 commit comments

Comments
 (0)