summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-08-30 15:20:15 +0700
committerhathach <[email protected]>2018-08-30 15:20:15 +0700
commit61e4a8c3d34994f47ae7380217af4dbefef4aab9 (patch)
treeb21ebaf6bffc46f29fe4791286cdb138c1e16797 /examples
parent583326e535454f16b06ebdb9cc06869602a5564c (diff)
remove CFG_TUD_CDC_FLUSH_ON_SOF option
Diffstat (limited to 'examples')
-rw-r--r--examples/device/device_virtual_com/src/tusb_config.h5
-rw-r--r--examples/device/nrf52840/src/tusb_config.h4
-rw-r--r--examples/device/nrf52840_freertos/src/tusb_config.h4
-rw-r--r--examples/obsolete/device/src/tusb_config.h6
4 files changed, 0 insertions, 19 deletions
diff --git a/examples/device/device_virtual_com/src/tusb_config.h b/examples/device/device_virtual_com/src/tusb_config.h
index 38930505b..f7cde7848 100644
--- a/examples/device/device_virtual_com/src/tusb_config.h
+++ b/examples/device/device_virtual_com/src/tusb_config.h
@@ -87,11 +87,6 @@
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
-
-// TX is sent automatically every Start of Frame event.
-// If not enabled, application must call tud_cdc_write_flush() periodically
-#define CFG_TUD_CDC_FLUSH_ON_SOF 1
-
//--------------------------------------------------------------------+
// USB RAM PLACEMENT
//--------------------------------------------------------------------+
diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h
index 9e6b01616..86bd9e9a0 100644
--- a/examples/device/nrf52840/src/tusb_config.h
+++ b/examples/device/nrf52840/src/tusb_config.h
@@ -101,10 +101,6 @@
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
-// TX is sent automatically every Start of Frame event.
-// If not enabled, application must call tud_cdc_write_flush() periodically
-#define CFG_TUD_CDC_FLUSH_ON_SOF 0
-
//--------------------------------------------------------------------
// MSC
//--------------------------------------------------------------------
diff --git a/examples/device/nrf52840_freertos/src/tusb_config.h b/examples/device/nrf52840_freertos/src/tusb_config.h
index bd27f58b5..cadff0403 100644
--- a/examples/device/nrf52840_freertos/src/tusb_config.h
+++ b/examples/device/nrf52840_freertos/src/tusb_config.h
@@ -101,10 +101,6 @@
#define CFG_TUD_CDC_RX_BUFSIZE 64
#define CFG_TUD_CDC_TX_BUFSIZE 64
-// TX is sent automatically every Start of Frame event.
-// If not enabled, application must call tud_cdc_write_flush() periodically
-#define CFG_TUD_CDC_FLUSH_ON_SOF 0
-
//--------------------------------------------------------------------
// MSC
//--------------------------------------------------------------------
diff --git a/examples/obsolete/device/src/tusb_config.h b/examples/obsolete/device/src/tusb_config.h
index fc6807aef..7b7c82299 100644
--- a/examples/obsolete/device/src/tusb_config.h
+++ b/examples/obsolete/device/src/tusb_config.h
@@ -85,12 +85,6 @@
#define CFG_TUD_CDC_RX_BUFSIZE 128
#define CFG_TUD_CDC_TX_BUFSIZE 128
-
-// TX is sent automatically in Start of Frame event.
-// If not enabled, application must call tud_cdc_write_flush() periodically
-#define CFG_TUD_CDC_FLUSH_ON_SOF 1
-
-
// Number of supported Logical Unit Number (At least 1)
#define CFG_TUD_MSC_MAXLUN 1