summaryrefslogtreecommitdiff
path: root/src/class/dfu/dfu_device.h
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 /src/class/dfu/dfu_device.h
parent4e817ae6d47e3e0636358179ba0d3570fa47c2b0 (diff)
rename CFG_TUD_DFU_TRANSFER_BUFSIZE to CFG_TUD_DFU_XFER_BUFSIZE
Diffstat (limited to 'src/class/dfu/dfu_device.h')
-rw-r--r--src/class/dfu/dfu_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/dfu/dfu_device.h b/src/class/dfu/dfu_device.h
index 2d398aada..fecf8596f 100644
--- a/src/class/dfu/dfu_device.h
+++ b/src/class/dfu/dfu_device.h
@@ -37,8 +37,8 @@
// Class Driver Default Configure & Validation
//--------------------------------------------------------------------+
-#if !defined(CFG_TUD_DFU_TRANSFER_BUFSIZE)
- #error "CFG_TUD_DFU_TRANSFER_BUFSIZE must be defined, it has to be set to the buffer size used in TUD_DFU_DESCRIPTOR"
+#if !defined(CFG_TUD_DFU_XFER_BUFSIZE)
+ #error "CFG_TUD_DFU_XFER_BUFSIZE must be defined, it has to be set to the buffer size used in TUD_DFU_DESCRIPTOR"
#endif
//--------------------------------------------------------------------+