diff options
| author | hathach <[email protected]> | 2013-01-22 17:41:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-22 17:41:06 +0700 |
| commit | 38ce3f7534ec9e3e0b10b8923d7d17e437463e86 (patch) | |
| tree | 4eb3c2e065610c6b1dadc14a9c98e421041c5546 /tinyusb/common/errors.h | |
| parent | cfe7a3d23b4639c3578b166fc865450bc439d82c (diff) | |
start to support
- usbd host
- osal
some global define
#define TUSB_CFG_HOST_CONTROLLER_NUM
#define TUSB_CFG_HOST_DEVICE_MAX
#define TUSB_CFG_CONFIGURATION_MAX
rename & refractor HID type structure & enum
use CException to test asssertion library
add test for hid_host_keyboard with usbd configure get & osal queue get stubs
update test for assertion library
refractor ASSERT_STATUS in assertion library
update tusb_error_t values
rename usb basic type & enum in tusb_types.h and std_descriptors.h
Diffstat (limited to 'tinyusb/common/errors.h')
| -rw-r--r-- | tinyusb/common/errors.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index aa373e357..e771794c1 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -60,7 +60,10 @@ #define ERROR_TABLE(ENTRY) \ ENTRY(TUSB_ERROR_NONE)\ - ENTRY(tERROR_FAILED)\ + ENTRY(TUSB_ERROR_INVALID_PARA)\ + ENTRY(TUSB_ERROR_CLASS_DEVICE_DONT_SUPPORT)\ + ENTRY(TUSB_ERROR_OSAL_TIMEOUT)\ + ENTRY(TUSB_ERROR_FAILED)\ /** \enum tusb_error_t @@ -68,7 +71,7 @@ */ typedef enum { ERROR_TABLE(ERROR_ENUM) - ERROR_COUNT + TUSB_ERROR_COUNT }tusb_error_t; #if TUSB_CFG_DEBUG == 3 |
