From 06f923c7bb95e146ee545194eba1c9357c4baf45 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 27 Jan 2013 17:57:35 +0700 Subject: 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 --- 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 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)\ -- cgit v1.3.1