summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremiah McCarthy <[email protected]>2021-05-05 18:00:32 -0400
committerJeremiah McCarthy <[email protected]>2021-05-05 18:00:32 -0400
commitb51e0eb860b541ff27fb93b39263748b12bb1315 (patch)
tree87a2c282ee9b1458d9768801edc3e915c17fb33d /examples
parentdab1ed6b327a41976a2d4968d80747ac35fde113 (diff)
Fix typo
Diffstat (limited to 'examples')
-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 5f8cf50e8..77662542d 100644
--- a/examples/device/dfu/src/usb_descriptors.c
+++ b/examples/device/dfu/src/usb_descriptors.c
@@ -94,7 +94,7 @@ enum
uint8_t const desc_configuration[] =
{
// Config number, interface count, string index, total length, attribute, power in mA
- TUD_CONFIG_DESCRIPTOR(1, ITF1_NUM_TOTAL, 0, CONFIG_1_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
+ TUD_CONFIG_DESCRIPTOR(1, ITF1_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
// Interface number, string index, attributes, detach timeout, transfer size */
TUD_DFU_MODE_DESCRIPTOR(ITF1_NUM_DFU_MODE, 0, FUNC_ATTRS, 1000, CFG_TUD_DFU_TRANSFER_BUFFER_SIZE),