summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-27 16:19:22 +0700
committerhathach <[email protected]>2013-06-27 16:19:22 +0700
commit3bca56665cb802e6e599fb4a1a2be5dd6e64b70b (patch)
treeee67c6bac3050face4e8747b38317dfa2aba4927 /tinyusb/common/errors.h
parentc81c4bb817925f385b45c46857b3f0630edb99ed (diff)
add mutex support for osal
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
Diffstat (limited to 'tinyusb/common/errors.h')
-rw-r--r--tinyusb/common/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index 9017d99f4..dc9908bfd 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -74,6 +74,7 @@
ENTRY(TUSB_ERROR_OSAL_TASK_CREATE_FAILED )\
ENTRY(TUSB_ERROR_OSAL_QUEUE_FAILED )\
ENTRY(TUSB_ERROR_OSAL_SEMAPHORE_FAILED )\
+ ENTRY(TUSB_ERROR_OSAL_MUTEX_FAILED )\
ENTRY(TUSB_ERROR_EHCI_NOT_ENOUGH_QTD )\
ENTRY(TUSB_ERROR_USBD_DESCRIPTOR_STRING )\
ENTRY(TUSB_ERROR_HIDD_DESCRIPTOR_INTERFACE )\