summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-26 17:28:05 +0700
committerhathach <[email protected]>2013-02-26 17:28:05 +0700
commit49da21086004bd666564c5bd1bd2a0bb7938205d (patch)
treecb57d60704f8cb41b7450108ea12b3ec7cabcd7a /demos
parentac744b0401b93bade7d71e38db9f911c9d213fde (diff)
add osal subtask support
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
Diffstat (limited to 'demos')
-rw-r--r--demos/host/tusb_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/host/tusb_config.h b/demos/host/tusb_config.h
index deaa3227e..f04e946ef 100644
--- a/demos/host/tusb_config.h
+++ b/demos/host/tusb_config.h
@@ -90,6 +90,7 @@
#define TUSB_CFG_DEBUG 3
#define TUSB_CFG_OS TUSB_OS_NONE
+#define TUSB_CFG_OS_TICKS_PER_SECOND 1000
#ifdef __CODE_RED // make use of code red's support for ram region macros
#if (MCU == MCU_LPC11UXX) || (MCU == MCU_LPC13UXX)