From 0d279facbbb326b07e5dd84c3baabfa841d132f9 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 13 Sep 2013 23:32:07 +0700 Subject: fix cmsis rtx tick configuration everything should work TODO: remove static for variable error in control xfer subtask --- tinyusb/osal/osal_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tinyusb/osal') diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h index a70242e70..b97e68af4 100644 --- a/tinyusb/osal/osal_common.h +++ b/tinyusb/osal/osal_common.h @@ -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) { -- cgit v1.3.1