From bc9e93ad20f936c67d6acddb02d426783c32398e Mon Sep 17 00:00:00 2001 From: root Date: Sat, 13 Jun 2015 12:18:52 +0100 Subject: add usb resume support --- app/dfu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/dfu.c') diff --git a/app/dfu.c b/app/dfu.c index 554aca9..2e0bbff 100644 --- a/app/dfu.c +++ b/app/dfu.c @@ -16,13 +16,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 = 3, + .bInterfaceNumber = 4, .bAlternateSetting = 0, .bNumEndpoints = 0, .bInterfaceClass = 0xFE, .bInterfaceSubClass = 1, .bInterfaceProtocol = 1, - .iInterface = 0, + .iInterface = 9, .extra = &dfu_function, .extralen = sizeof (dfu_function), -- cgit v1.2.3