summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-12 18:51:57 +0700
committerhathach <[email protected]>2021-07-12 18:51:57 +0700
commit2916cd45753ca579ee1d0b475b2daf3f715243b6 (patch)
tree158cf9a2abf95141d1e1b6872ec42cf985431b2f /src/device
parent134ed995c82635d509621e40568b57309fc26101 (diff)
rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTOR
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index ba415abe8..8c5f0097d 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -646,7 +646,7 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb
TU_XSTRCAT(TUD_DFU_MODE_ALT_, CFG_TUD_DFU_ALT_COUNT)(_itfnum, __VA_ARGS__)
// Interface number, attributes, detach timeout, transfer size, string index 0, [string index 1, string index n]
-#define TUD_DFU_MODE_DESCRIPTOR(_itfnum, _attr, _timeout, _xfer_size, _stridx, ...) \
+#define TUD_DFU_DESCRIPTOR(_itfnum, _attr, _timeout, _xfer_size, _stridx, ...) \
TUD_DFU_MODE_ALTS(_itfnum, _TUD_DFU_COMBINE(_stridx, __VA_ARGS__)) \
TUD_DFU_MODE_FUNC(_attr, _timeout, _xfer_size)