diff options
author | root <root@lamia.panaceas.james.local> | 2015-06-13 12:18:52 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-06-13 12:18:52 +0100 |
commit | bc9e93ad20f936c67d6acddb02d426783c32398e (patch) | |
tree | c4c128604c92298174cfcd3c1b07878d0ca35ac6 /app/dfu.c | |
parent | 500561f54adabc9aaf5b3548744b5bc8b4381c89 (diff) | |
download | stm32_usb_kvm-bc9e93ad20f936c67d6acddb02d426783c32398e.tar.gz stm32_usb_kvm-bc9e93ad20f936c67d6acddb02d426783c32398e.tar.bz2 stm32_usb_kvm-bc9e93ad20f936c67d6acddb02d426783c32398e.zip |
add usb resume support
Diffstat (limited to 'app/dfu.c')
-rw-r--r-- | app/dfu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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), |