From 33af6b6549e24547105ba19603d6fe9c39b9a825 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 10 Apr 2018 14:47:33 +0700 Subject: [PATCH] clean up remove CFG_TUSB_TICKS_HZ --- doxygen/configuration.txt | 1 - examples/device/device_virtual_com/src/tusb_config.h | 3 --- examples/device/nrf52840/src/tusb_config.h | 5 +---- tests/support/tusb_config.h | 1 - 4 files changed, 1 insertion(+), 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