summaryrefslogtreecommitdiff
path: root/tinyusb/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-27 17:57:35 +0700
committerhathach <[email protected]>2013-01-27 17:57:35 +0700
commit06f923c7bb95e146ee545194eba1c9357c4baf45 (patch)
tree09091d11a1839920ef56d3219174577ac50b765e /tinyusb/common
parent36dbd528708f7c7a65350aef5092b49f962d8a98 (diff)
add usbh_device_info_t to return device status
add usbh_init and test code replace usbh_device_is_plugged in hid_host and test_hid_host with usbh_device_info_t
Diffstat (limited to 'tinyusb/common')
-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 caf099ae1..b96bb5997 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -62,6 +62,7 @@
#define ERROR_TABLE(ENTRY) \
ENTRY(TUSB_ERROR_NONE)\
ENTRY(TUSB_ERROR_INVALID_PARA)\
+ ENTRY(TUSB_ERROR_DEVICE_NOT_READY)\
ENTRY(TUSB_ERROR_CLASS_DEVICE_DONT_SUPPORT)\
ENTRY(TUSB_ERROR_CLASS_DATA_NOT_AVAILABLE)\
ENTRY(TUSB_ERROR_OSAL_TIMEOUT)\