summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-04-10 14:47:33 +0700
committerhathach <[email protected]>2018-04-10 14:47:33 +0700
commit33af6b6549e24547105ba19603d6fe9c39b9a825 (patch)
tree12fecc6385a41337a5498f448ae43bcc8928acac
parent81935c91e98e76108d045df2581772c3a34a99ce (diff)
clean up remove CFG_TUSB_TICKS_HZ
-rw-r--r--doxygen/configuration.txt1
-rw-r--r--examples/device/device_virtual_com/src/tusb_config.h3
-rw-r--r--examples/device/nrf52840/src/tusb_config.h5
-rw-r--r--tests/support/tusb_config.h1
4 files changed, 1 insertions, 9 deletions
diff --git a/doxygen/configuration.txt b/doxygen/configuration.txt
index de373c535..6114f7a9c 100644
--- a/doxygen/configuration.txt
+++ b/doxygen/configuration.txt
@@ -21,7 +21,6 @@
#define CFG_TUSB_MCU ///< Select one of the supported MCU, the value must be from \ref group_mcu
#define CFG_TUSB_OS ///< Select one of the supported RTOS, the value must be from \ref group_supported_os.
#define CFG_TUSB_OS_TASK_PRIO ///< If \ref CFG_TUSB_OS is configured to use a real RTOS (other than TUSB_OS_NONE). This determines the priority of the usb stack task.
-#define CFG_TUSB_TICKS_HZ ///< The rate ticks in hert. This is used in conjunction with \ref tusb_tick_get to calculate timing.
//--------------------------------------------------------------------+
// HOST CONFIGURATION
diff --git a/examples/device/device_virtual_com/src/tusb_config.h b/examples/device/device_virtual_com/src/tusb_config.h
index d5139e385..e2a9e6a40 100644
--- a/examples/device/device_virtual_com/src/tusb_config.h
+++ b/examples/device/device_virtual_com/src/tusb_config.h
@@ -70,9 +70,6 @@
//#define CFG_TUSB_OS TUSB_OS_NONE // be passed from IDE/command line for easy project switching
//#define CFG_TUSB_OS_TASK_PRIO 0 // be passed from IDE/command line for easy project switching
-#define CFG_TUSB_TICKS_HZ 1000
-
-//#define CFG_TUSB_OS TUSB_OS_NONE
//--------------------------------------------------------------------+
// USB RAM PLACEMENT
diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h
index 75d137d1d..44c4557cc 100644
--- a/examples/device/nrf52840/src/tusb_config.h
+++ b/examples/device/nrf52840/src/tusb_config.h
@@ -68,10 +68,7 @@
#define CFG_TUSB_DEBUG 2
#define CFG_TUSB_OS TUSB_OS_NONE // be passed from IDE/command line for easy project switching
-//#define CFG_TUSB_OS_TASK_PRIO 0 // be passed from IDE/command line for easy project switching
-#define CFG_TUSB_TICKS_HZ 1000
-
-//#define CFG_TUSB_OS TUSB_OS_NONE
+//#define CFG_TUSB_OS_TASK_PRIO 0 // be passed from IDE/command line for easy project switching
//--------------------------------------------------------------------+
// USB RAM PLACEMENT
diff --git a/tests/support/tusb_config.h b/tests/support/tusb_config.h
index 62d1f6814..909e18155 100644
--- a/tests/support/tusb_config.h
+++ b/tests/support/tusb_config.h
@@ -87,7 +87,6 @@
#define CFG_TUSB_DEBUG 3
#define CFG_TUSB_OS TUSB_OS_NONE
-#define CFG_TUSB_TICKS_HZ 1000 // 1 ms tick
#define CFG_TUSB_ATTR_USBRAM
#ifdef __cplusplus