summaryrefslogtreecommitdiff
path: root/demos/device
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/device
parentfe1b39e539adcee6be4b9b8637a13debc3f6811c (diff)
rename TUSB_CFG_OS_TICKS_PER_SECOND to TUSB_CFG_TICKS_HZ
remove CFG_TICKS_PER_SECOND
Diffstat (limited to 'demos/device')
-rw-r--r--demos/device/src/main.c2
-rw-r--r--demos/device/src/tusb_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/device/src/main.c b/demos/device/src/main.c
index c15d92e4d..f5c05bece 100644
--- a/demos/device/src/main.c
+++ b/demos/device/src/main.c
@@ -155,7 +155,7 @@ void print_greeting(void)
--------------------------------------------------------------------\n\n"
);
- puts("This demo supports the following classes");
+ puts("This demo supports the following classes for DEVICE");
if (TUSB_CFG_DEVICE_HID_MOUSE ) puts(" - HID Mouse");
if (TUSB_CFG_DEVICE_HID_KEYBOARD ) puts(" - HID Keyboard");
if (TUSB_CFG_DEVICE_MSC ) puts(" - Mass Storage");
diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h
index 94261c39b..d0b897807 100644
--- a/demos/device/src/tusb_config.h
+++ b/demos/device/src/tusb_config.h
@@ -72,7 +72,7 @@
//#define TUSB_CFG_OS TUSB_OS_NONE // be passed from IDE/command line for easy project switching
//#define TUSB_CFG_OS_TASK_PRIO // be passed from IDE/command line for easy project switching
-#define TUSB_CFG_OS_TICKS_PER_SECOND 1000
+#define TUSB_CFG_TICKS_HZ 1000
//--------------------------------------------------------------------+
// USB RAM PLACEMENT