summaryrefslogtreecommitdiff
path: root/examples/device/dfu/src/tusb_config.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-12 20:15:59 +0700
committerhathach <[email protected]>2021-07-12 20:15:59 +0700
commit680b000bd1471d731117ccf4f3fe35579d346cb8 (patch)
tree23b190ae7d3d06281c5839311038190cd051e940 /examples/device/dfu/src/tusb_config.h
parent2916cd45753ca579ee1d0b475b2daf3f715243b6 (diff)
simplify TUD_DFU_DESCRIPTOR with alternate count
remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional descriptor
Diffstat (limited to 'examples/device/dfu/src/tusb_config.h')
-rw-r--r--examples/device/dfu/src/tusb_config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/device/dfu/src/tusb_config.h b/examples/device/dfu/src/tusb_config.h
index 7e10b4321..77d907ffc 100644
--- a/examples/device/dfu/src/tusb_config.h
+++ b/examples/device/dfu/src/tusb_config.h
@@ -81,8 +81,6 @@
#define CFG_TUD_DFU_RUNTIME 0
#define CFG_TUD_DFU_MODE 1
-// Count of all alt settings, typically it's the partition count (Flash, EEPROM, etc.)
-#define CFG_TUD_DFU_ALT_COUNT 2
// DFU buffer size, it has to be set to the buffer size used in TUD_DFU_DESCRIPTOR
#define CFG_TUD_DFU_TRANSFER_BUFFER_SIZE 4096