summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-18 16:10:25 +0700
committerhathach <[email protected]>2014-03-18 16:10:25 +0700
commit2c4a2e5b9e36436280b30cc12529b4027b589fbd (patch)
tree2f678e307c408399e7ffed9dd2fdd2cf4e51caf5 /demos/host/src
parentfe1b39e539adcee6be4b9b8637a13debc3f6811c (diff)
rename TUSB_CFG_OS_TICKS_PER_SECOND to TUSB_CFG_TICKS_HZ
remove CFG_TICKS_PER_SECOND
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/main.c2
-rw-r--r--demos/host/src/tusb_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index 7a6a2d22d..b85004052 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -152,7 +152,7 @@ void print_greeting(void)
--------------------------------------------------------------------\n"
);
- puts("This demo supports the following classes");
+ puts("This demo supports the following classes for HOST");
if (TUSB_CFG_HOST_HUB ) puts(" - Hub (1 level only)");
if (TUSB_CFG_HOST_HID_MOUSE ) puts(" - HID Mouse");
if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h
index d1b717a23..077935f38 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -72,7 +72,7 @@
//#define TUSB_CFG_OS TUSB_OS_NONE // defined using eclipse build
//#define TUSB_CFG_OS_TASK_PRIO // defined using eclipse build
-#define TUSB_CFG_OS_TICKS_PER_SECOND 1000
+#define TUSB_CFG_TICKS_HZ 1000
//--------------------------------------------------------------------+
// USB RAM PLACEMENT