summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-03 01:17:26 +0700
committerhathach <[email protected]>2019-07-03 01:17:26 +0700
commitea29eb49af790d043d127272238f1a670a927a6e (patch)
treec37b72dc38f0c96bed65819ef1682869622b5f15 /examples
parent6a8465384b428e25e8387f7921478a533ac57591 (diff)
example clean up
Diffstat (limited to 'examples')
-rw-r--r--examples/device/cdc_msc_hid/src/tusb_config.h15
-rw-r--r--examples/device/cdc_msc_hid_freertos/src/tusb_config.h12
-rw-r--r--examples/device/hid_generic_inout/src/tusb_config.h4
-rw-r--r--examples/device/midi_test/src/tusb_config.h2
-rw-r--r--examples/device/msc_dual_lun/src/tusb_config.h4
5 files changed, 9 insertions, 28 deletions
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h
index 2c89a63b7..e55dc9d01 100644
--- a/examples/device/cdc_msc_hid/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid/src/tusb_config.h
@@ -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
diff --git a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
index b4e18de92..76ec948e5 100644
--- a/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid_freertos/src/tusb_config.h
@@ -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
diff --git a/examples/device/hid_generic_inout/src/tusb_config.h b/examples/device/hid_generic_inout/src/tusb_config.h
index dc7d98812..fb19d5169 100644
--- a/examples/device/hid_generic_inout/src/tusb_config.h
+++ b/examples/device/hid_generic_inout/src/tusb_config.h
@@ -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
diff --git a/examples/device/midi_test/src/tusb_config.h b/examples/device/midi_test/src/tusb_config.h
index 222c17417..6ea2f43db 100644
--- a/examples/device/midi_test/src/tusb_config.h
+++ b/examples/device/midi_test/src/tusb_config.h
@@ -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
diff --git a/examples/device/msc_dual_lun/src/tusb_config.h b/examples/device/msc_dual_lun/src/tusb_config.h
index ae57b4d60..db9974ea3 100644
--- a/examples/device/msc_dual_lun/src/tusb_config.h
+++ b/examples/device/msc_dual_lun/src/tusb_config.h
@@ -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