Skip to content

Commit

Permalink
Use locm3-provided DFU interface class constant
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlai committed Mar 11, 2023
1 parent dc58660 commit a54e98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/USB/composite_usb_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static const struct usb_interface_descriptor dfu_iface = {
.bInterfaceNumber = INTF_DFU,
.bAlternateSetting = 0,
.bNumEndpoints = 0,
.bInterfaceClass = 0xFE,
.bInterfaceClass = USB_CLASS_DFU,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 1,
.iInterface = STR_DFU_INTF,
Expand Down

0 comments on commit a54e98b

Please sign in to comment.