mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 13:20:54 +00:00
example clean up
This commit is contained in:
parent
6a8465384b
commit
ea29eb49af
@ -79,25 +79,16 @@
|
|||||||
#define CFG_TUD_MIDI 0
|
#define CFG_TUD_MIDI 0
|
||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
|
|
||||||
//------------- CDC -------------//
|
// CDC FIFO size of TX and RX
|
||||||
|
|
||||||
// FIFO size of CDC TX and RX
|
|
||||||
#define CFG_TUD_CDC_RX_BUFSIZE 64
|
#define CFG_TUD_CDC_RX_BUFSIZE 64
|
||||||
#define CFG_TUD_CDC_TX_BUFSIZE 64
|
#define CFG_TUD_CDC_TX_BUFSIZE 64
|
||||||
|
|
||||||
//------------- MSC -------------//
|
// MSC Buffer size of Device Mass storage
|
||||||
|
|
||||||
// Buffer size of Device Mass storage
|
|
||||||
#define CFG_TUD_MSC_BUFSIZE 512
|
#define CFG_TUD_MSC_BUFSIZE 512
|
||||||
|
|
||||||
//------------- HID -------------//
|
// HID buffer size Should be sufficient to hold ID (if any) + Data
|
||||||
|
|
||||||
// Should be sufficient to hold ID (if any) + Data
|
|
||||||
#define CFG_TUD_HID_BUFSIZE 16
|
#define CFG_TUD_HID_BUFSIZE 16
|
||||||
|
|
||||||
#define CFG_TUD_MIDI_RX_BUFSIZE 512
|
|
||||||
#define CFG_TUD_MIDI_TX_BUFSIZE 512
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -79,20 +79,14 @@
|
|||||||
#define CFG_TUD_MIDI 0
|
#define CFG_TUD_MIDI 0
|
||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
|
|
||||||
//------------- CDC -------------//
|
// CDC FIFO size of TX and RX
|
||||||
|
|
||||||
// FIFO size of CDC TX and RX
|
|
||||||
#define CFG_TUD_CDC_RX_BUFSIZE 64
|
#define CFG_TUD_CDC_RX_BUFSIZE 64
|
||||||
#define CFG_TUD_CDC_TX_BUFSIZE 64
|
#define CFG_TUD_CDC_TX_BUFSIZE 64
|
||||||
|
|
||||||
//------------- MSC -------------//
|
// MSC Buffer size of Device Mass storage
|
||||||
|
|
||||||
// Buffer size of Device Mass storage
|
|
||||||
#define CFG_TUD_MSC_BUFSIZE 512
|
#define CFG_TUD_MSC_BUFSIZE 512
|
||||||
|
|
||||||
//------------- HID -------------//
|
// HID buffer size Should be sufficient to hold ID (if any) + Data
|
||||||
|
|
||||||
// Should be sufficient to hold ID (if any) + Data
|
|
||||||
#define CFG_TUD_HID_BUFSIZE 16
|
#define CFG_TUD_HID_BUFSIZE 16
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -78,9 +78,7 @@
|
|||||||
#define CFG_TUD_MIDI 0
|
#define CFG_TUD_MIDI 0
|
||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
|
|
||||||
//------------- HID -------------//
|
// HID buffer size Should be sufficient to hold ID (if any) + Data
|
||||||
|
|
||||||
// Should be sufficient to hold ID (if any) + Data
|
|
||||||
#define CFG_TUD_HID_BUFSIZE 64
|
#define CFG_TUD_HID_BUFSIZE 64
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
#define CFG_TUD_MIDI 1
|
#define CFG_TUD_MIDI 1
|
||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
|
|
||||||
//------------- MIDI -------------//
|
// MIDI FIFO size of TX and RX
|
||||||
#define CFG_TUD_MIDI_RX_BUFSIZE 64
|
#define CFG_TUD_MIDI_RX_BUFSIZE 64
|
||||||
#define CFG_TUD_MIDI_TX_BUFSIZE 64
|
#define CFG_TUD_MIDI_TX_BUFSIZE 64
|
||||||
|
|
||||||
|
@ -78,9 +78,7 @@
|
|||||||
#define CFG_TUD_MIDI 0
|
#define CFG_TUD_MIDI 0
|
||||||
#define CFG_TUD_CUSTOM_CLASS 0
|
#define CFG_TUD_CUSTOM_CLASS 0
|
||||||
|
|
||||||
//------------- MSC -------------//
|
// MSC Buffer size of Device Mass storage
|
||||||
|
|
||||||
// Buffer size of Device Mass storage
|
|
||||||
#define CFG_TUD_MSC_BUFSIZE 512
|
#define CFG_TUD_MSC_BUFSIZE 512
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user