reduce CFG_TUD_DFU_XFER_BUFSIZE for max compatible

This commit is contained in:
hathach 2021-11-08 19:18:52 +07:00
parent d415bd4d7b
commit 1e308dd6c0
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@
#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_XFER_BUFSIZE 512
#define CFG_TUD_DFU_XFER_BUFSIZE ( OPT_MODE_HIGH_SPEED ? 512 : 64 )
#ifdef __cplusplus
}