Explorar el Código

increase usb transaction time-out as host_cmsis_rtx easily timeouted

hathach hace 12 años
padre
commit
e32e901cd1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tinyusb/osal/osal_common.h

+ 1 - 1
tinyusb/osal/osal_common.h

@@ -61,7 +61,7 @@
 enum
 enum
 {
 {
   OSAL_TIMEOUT_NOTIMEOUT    = 0,  // for use within ISR,  return immediately
   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
   OSAL_TIMEOUT_WAIT_FOREVER = 0x0EEEEEEE
 };
 };