example clean up

This commit is contained in:
hathach 2019-07-03 01:17:26 +07:00
parent 6a8465384b
commit ea29eb49af
5 changed files with 9 additions and 28 deletions

View File

@ -79,25 +79,16 @@
#define CFG_TUD_MIDI 0
#define CFG_TUD_CUSTOM_CLASS 0
//------------- CDC -------------//
// FIFO size of CDC TX and RX
// CDC FIFO size of TX and RX
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
//------------- MSC -------------//
// Buffer size of Device Mass storage
// MSC Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512
//------------- HID -------------//
// Should be sufficient to hold ID (if any) + Data
// HID buffer size Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_BUFSIZE 16
#define CFG_TUD_MIDI_RX_BUFSIZE 512
#define CFG_TUD_MIDI_TX_BUFSIZE 512
#ifdef __cplusplus
}
#endif

View File

@ -79,20 +79,14 @@
#define CFG_TUD_MIDI 0
#define CFG_TUD_CUSTOM_CLASS 0
//------------- CDC -------------//
// FIFO size of CDC TX and RX
// CDC FIFO size of TX and RX
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
//------------- MSC -------------//
// Buffer size of Device Mass storage
// MSC Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512
//------------- HID -------------//
// Should be sufficient to hold ID (if any) + Data
// HID buffer size Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_BUFSIZE 16
#ifdef __cplusplus

View File

@ -78,9 +78,7 @@
#define CFG_TUD_MIDI 0
#define CFG_TUD_CUSTOM_CLASS 0
//------------- HID -------------//
// Should be sufficient to hold ID (if any) + Data
// HID buffer size Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_BUFSIZE 64
#ifdef __cplusplus

View File

@ -78,7 +78,7 @@
#define CFG_TUD_MIDI 1
#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_TX_BUFSIZE 64

View File

@ -78,9 +78,7 @@
#define CFG_TUD_MIDI 0
#define CFG_TUD_CUSTOM_CLASS 0
//------------- MSC -------------//
// Buffer size of Device Mass storage
// MSC Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512
#ifdef __cplusplus