Skip to content

Commit

Permalink
usb: Fix error in ACM interface descriptor.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyp committed Jan 13, 2024
1 parent 2a8a2b7 commit 5e55aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbtrace/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def add_usb_uart(self, uart):

# IAD descriptor needed on windows
with self.usb_conf_desc.InterfaceAssociationDescriptor() as i:
i.bFirstInterface = 0
i.bFirstInterface = comm_if
i.bInterfaceCount = 2
i.bFunctionClass = 2 # CDC
i.bFunctionSubclass = 2
Expand Down

0 comments on commit 5e55aef

Please sign in to comment.