fix cmsis rtx tick configuration

everything should work
TODO: remove static for variable error in control xfer subtask
This commit is contained in:
hathach
2013-09-13 23:32:07 +07:00
parent 67453b89f0
commit 0d279facbb
9 changed files with 32 additions and 33 deletions

View File

@@ -65,6 +65,7 @@ enum
OSAL_TIMEOUT_WAIT_FOREVER = 0x0EEEEEEE
};
// TODO refractor/remove this function and/or TUSB_CFG_OS_TICKS_PER_SECOND if using an RTOS
static inline uint32_t osal_tick_from_msec(uint32_t msec) ATTR_CONST ATTR_ALWAYS_INLINE;
static inline uint32_t osal_tick_from_msec(uint32_t msec)
{