dfu: fix USB DFU descriptor
This commit is contained in:
parent
2a3617658a
commit
d76f6ee6df
|
@ -44,9 +44,10 @@ uint8_t const desc_configuration[] = {
|
|||
// Interface number, string index, protocol, report descriptor len, EP In address, size & polling interval
|
||||
TUD_HID_DESCRIPTOR(ITF_NUM_HID, 6, HID_PROTOCOL_NONE, sizeof(desc_hid_report), 0x84, 16, 10),
|
||||
# endif
|
||||
|
||||
# if CFG_TUD_DFU_RUNTIME
|
||||
// Interface number, string index, attributes, detach timeout, transfer size */
|
||||
TUD_DFU_RT_DESCRIPTOR(ITF_NUM_DFU_RT, 7, 0x0d, 1000, 4096),
|
||||
TUD_DFU_RT_DESCRIPTOR(ITF_NUM_DFU_RT, 7, 0x0f, 1000, 512), // allow detach, manifest, upload, download; set transfer size to high speed 512
|
||||
# endif
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
|
|
Loading…
Reference in New Issue