Skip to content

Commit 5e55aef

Browse files
committed
usb: Fix error in ACM interface descriptor.
1 parent 2a8a2b7 commit 5e55aef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

orbtrace/soc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def add_usb_uart(self, uart):
583583

584584
# IAD descriptor needed on windows
585585
with self.usb_conf_desc.InterfaceAssociationDescriptor() as i:
586-
i.bFirstInterface = 0
586+
i.bFirstInterface = comm_if
587587
i.bInterfaceCount = 2
588588
i.bFunctionClass = 2 # CDC
589589
i.bFunctionSubclass = 2

0 commit comments

Comments
 (0)