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
@ -131,33 +131,32 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUSB_MEM_ALIGN
|
#ifndef CFG_TUSB_MEM_ALIGN
|
||||||
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
|
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUSB_OS
|
#ifndef CFG_TUSB_OS
|
||||||
#define CFG_TUSB_OS OPT_OS_NONE
|
#define CFG_TUSB_OS OPT_OS_NONE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
// 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
|
#define CFG_TUD_CDC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_CDC
|
#ifndef CFG_TUD_MSC
|
||||||
#define CFG_TUD_CDC 0
|
#define CFG_TUD_MSC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_MSC
|
#ifndef CFG_TUD_HID
|
||||||
#define CFG_TUD_MSC 0
|
#define CFG_TUD_HID 0
|
||||||
#endif
|
#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