summaryrefslogtreecommitdiff
path: root/tinyusb/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-09-13 23:32:07 +0700
committerhathach <[email protected]>2013-09-13 23:32:07 +0700
commit0d279facbbb326b07e5dd84c3baabfa841d132f9 (patch)
tree1c20fd9a1cd834b8bcd530a7eca3d72d01c63f33 /tinyusb/osal
parent67453b89f03e43408bf165f610aa62a63c000f1c (diff)
fix cmsis rtx tick configuration
everything should work TODO: remove static for variable error in control xfer subtask
Diffstat (limited to 'tinyusb/osal')
-rw-r--r--tinyusb/osal/osal_common.h1
1 files changed, 1 insertions, 0 deletions
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)
{