summaryrefslogtreecommitdiff
path: root/examples/device/dfu/src/usb_descriptors.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-22 01:00:06 +0700
committerhathach <[email protected]>2021-07-22 01:00:06 +0700
commit9542fcdbcda23a08fb4d7901bbb01333b6465bfc (patch)
tree31511110dadbc664464b8f4878f12813181bac59 /examples/device/dfu/src/usb_descriptors.c
parent4e817ae6d47e3e0636358179ba0d3570fa47c2b0 (diff)
rename CFG_TUD_DFU_TRANSFER_BUFSIZE to CFG_TUD_DFU_XFER_BUFSIZE
Diffstat (limited to 'examples/device/dfu/src/usb_descriptors.c')
-rw-r--r--examples/device/dfu/src/usb_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/dfu/src/usb_descriptors.c b/examples/device/dfu/src/usb_descriptors.c
index a15bb6136..1cfe29c53 100644
--- a/examples/device/dfu/src/usb_descriptors.c
+++ b/examples/device/dfu/src/usb_descriptors.c
@@ -100,7 +100,7 @@ uint8_t const desc_configuration[] =
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
// Interface number, Alternate count, starting string index, attributes, detach timeout, transfer size
- TUD_DFU_DESCRIPTOR(ITF_NUM_DFU_MODE, ALT_COUNT, 4, FUNC_ATTRS, 1000, CFG_TUD_DFU_TRANSFER_BUFSIZE),
+ TUD_DFU_DESCRIPTOR(ITF_NUM_DFU_MODE, ALT_COUNT, 4, FUNC_ATTRS, 1000, CFG_TUD_DFU_XFER_BUFSIZE),
};
// Invoked when received GET CONFIGURATION DESCRIPTOR