From 49da21086004bd666564c5bd1bd2a0bb7938205d Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 26 Feb 2013 17:28:05 +0700 Subject: add osal subtask support add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask --- tinyusb/common/errors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tinyusb/common/errors.h') diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index 42855ffed..5ed6e6549 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -69,6 +69,7 @@ ENTRY(TUSB_ERROR_USBH_MOUNT_DEVICE_NOT_RESPOND)\ ENTRY(TUSB_ERROR_USBH_MOUNT_CONFIG_DESC_TOO_LONG)\ ENTRY(TUSB_ERROR_OSAL_TIMEOUT)\ + ENTRY(TUSB_ERROR_OSAL_WAITING)\ ENTRY(TUSB_ERROR_OSAL_TASK_FAILED)\ ENTRY(TUSB_ERROR_OSAL_QUEUE_FAILED)\ ENTRY(TUSB_ERROR_OSAL_SEMAPHORE_FAILED)\ -- cgit v1.3.1