From b063a2da3024a2e3175e1ba9b0a87cb6c7470765 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Aug 2016 14:04:59 +0100 Subject: candlestick --- 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 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), -- cgit v1.2.3