From e32e901cd154e3df1ba6b12abbdcf2b4fc173d54 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 14 Sep 2013 00:00:05 +0700 Subject: [PATCH] increase usb transaction time-out as host_cmsis_rtx easily timeouted --- tinyusb/osal/osal_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h index b97e68af4..8a6853ca8 100644 --- a/tinyusb/osal/osal_common.h +++ b/tinyusb/osal/osal_common.h @@ -61,7 +61,7 @@ enum { OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately - OSAL_TIMEOUT_NORMAL = 10, // default is 10 msec + OSAL_TIMEOUT_NORMAL = 10*5, // default is 10 msec, FIXME CMSIS-RTX easily timeout with 10 msec OSAL_TIMEOUT_WAIT_FOREVER = 0x0EEEEEEE };