summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-19 16:06:27 +0700
committerhathach <[email protected]>2014-03-19 16:06:27 +0700
commit96bb6c8968ba1ae5b430c02d02e94721a25aa34b (patch)
tree8b75b262fe61569253c530ff32b9791a40d7d062 /tinyusb
parent582492b02ce8406144b85c476e71bfe8bed03a39 (diff)
remvoe main as thread of cmsis rtx for portability.
Keil & lpcxpresso4 host_cmsis_rtx work well
Diffstat (limited to 'tinyusb')
-rw-r--r--tinyusb/osal/osal_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h
index 0cf712e25..3f1bfe08e 100644
--- a/tinyusb/osal/osal_common.h
+++ b/tinyusb/osal/osal_common.h
@@ -56,7 +56,7 @@ enum
{
OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately
OSAL_TIMEOUT_NORMAL = 10*5, // default is 10 msec, FIXME CMSIS-RTX easily timeout with 10 msec
- OSAL_TIMEOUT_WAIT_FOREVER = 0x0EEEEEEE
+ OSAL_TIMEOUT_WAIT_FOREVER = 0xFFFFFFFF
};
static inline uint32_t osal_tick_from_msec(uint32_t msec) ATTR_CONST ATTR_ALWAYS_INLINE;