summaryrefslogtreecommitdiffstats
path: root/app/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/dfu.c')
-rw-r--r--app/dfu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/dfu.c b/app/dfu.c
index 8a4a3cc..2606ac7 100644
--- a/app/dfu.c
+++ b/app/dfu.c
@@ -15,13 +15,13 @@ const struct usb_dfu_descriptor dfu_function = {
const struct usb_interface_descriptor dfu_iface = {
.bLength = USB_DT_INTERFACE_SIZE,
.bDescriptorType = USB_DT_INTERFACE,
- .bInterfaceNumber = 1,
+ .bInterfaceNumber = 2,
.bAlternateSetting = 0,
.bNumEndpoints = 0,
.bInterfaceClass = 0xFE,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 1,
- .iInterface = 7,
+ .iInterface = 8,
.extra = &dfu_function,
.extralen = sizeof (dfu_function),