mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
clean up
This commit is contained in:
parent
6e9324e29c
commit
bcf9718f9a
@ -141,23 +141,22 @@
|
|||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// DEVICE OPTIONS
|
// DEVICE OPTIONS
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
#if TUSB_OPT_DEVICE_ENABLED
|
|
||||||
|
|
||||||
#ifndef CFG_TUD_ENDOINT0_SIZE
|
#ifndef CFG_TUD_ENDOINT0_SIZE
|
||||||
#define CFG_TUD_ENDOINT0_SIZE 64
|
#define CFG_TUD_ENDOINT0_SIZE 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_CTRL_BUFSIZE
|
#ifndef CFG_TUD_CDC
|
||||||
#define CFG_TUD_CTRL_BUFSIZE 256
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CFG_TUD_CDC
|
|
||||||
#define CFG_TUD_CDC 0
|
#define CFG_TUD_CDC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_MSC
|
#ifndef CFG_TUD_MSC
|
||||||
#define CFG_TUD_MSC 0
|
#define CFG_TUD_MSC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CFG_TUD_HID
|
||||||
|
#define CFG_TUD_HID 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_MIDI
|
#ifndef CFG_TUD_MIDI
|
||||||
#define CFG_TUD_MIDI 0
|
#define CFG_TUD_MIDI 0
|
||||||
@ -167,7 +166,6 @@
|
|||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // TUSB_OPT_DEVICE_ENABLED
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// HOST OPTIONS
|
// HOST OPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user