summaryrefslogtreecommitdiff
path: root/examples/device/dfu/src/tusb_config.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-15 20:52:58 +0700
committerhathach <[email protected]>2021-07-15 20:52:58 +0700
commit3960beece0ea3dccf7ca615bd7841daa6b703d56 (patch)
tree275adc1e26da5702599b88c7550ecf9ee3b79b21 /examples/device/dfu/src/tusb_config.h
parentdaca9e520bce0b4eb5882c5692986ec5c513f319 (diff)
rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFU
Diffstat (limited to 'examples/device/dfu/src/tusb_config.h')
-rw-r--r--examples/device/dfu/src/tusb_config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/device/dfu/src/tusb_config.h b/examples/device/dfu/src/tusb_config.h
index 5be58e854..2e3b89f49 100644
--- a/examples/device/dfu/src/tusb_config.h
+++ b/examples/device/dfu/src/tusb_config.h
@@ -77,9 +77,7 @@
#endif
//------------- CLASS -------------//
-
-#define CFG_TUD_DFU_RUNTIME 0
-#define CFG_TUD_DFU_MODE 1
+#define CFG_TUD_DFU 1
// DFU buffer size, it has to be set to the buffer size used in TUD_DFU_DESCRIPTOR
#define CFG_TUD_DFU_TRANSFER_BUFSIZE 512