diff options
| author | Ha Thach <[email protected]> | 2021-07-22 11:17:01 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-22 11:17:01 +0700 |
| commit | 1c2bc47c078fb48379bb148840e9b9c88c0fa66f (patch) | |
| tree | 89b8d2a9947f8ccaf1693df6c2a9d47f310ac3e5 /src/tusb_option.h | |
| parent | e971a4332dc6dc0580e1d71e4fc8866296f8159c (diff) | |
| parent | 9542fcdbcda23a08fb4d7901bbb01333b6465bfc (diff) | |
Merge pull request #950 from HiFiPhile/dfu
DFU improvements
Diffstat (limited to 'src/tusb_option.h')
| -rw-r--r-- | src/tusb_option.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index dfac46374..6651eb83d 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -246,12 +246,8 @@ #define CFG_TUD_DFU_RUNTIME 0 #endif -#ifndef CFG_TUD_DFU_MODE - #define CFG_TUD_DFU_MODE 0 -#endif - -#ifndef CFG_TUD_DFU_TRANSFER_BUFFER_SIZE - #define CFG_TUD_DFU_TRANSFER_BUFFER_SIZE 64 +#ifndef CFG_TUD_DFU + #define CFG_TUD_DFU 0 #endif #ifndef CFG_TUD_NET |
