diff options
| author | hathach <[email protected]> | 2013-03-25 17:39:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-25 17:39:22 +0700 |
| commit | d0a73f4b0d6d25d5f6a08f3b519241cec4e2a535 (patch) | |
| tree | 1242ed2aa5239a1a71f3de6d10d8120b585e3ed0 /tinyusb/core | |
| parent | c026a9f2e0aca713c7cb5f08eb40018f7f16e1be (diff) | |
add several helper function
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
Diffstat (limited to 'tinyusb/core')
| -rw-r--r-- | tinyusb/core/tusb_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tinyusb/core/tusb_types.h b/tinyusb/core/tusb_types.h index 6a641930d..8dd9a529e 100644 --- a/tinyusb/core/tusb_types.h +++ b/tinyusb/core/tusb_types.h @@ -194,6 +194,11 @@ typedef enum { BUS_EVENT_XFER_ERROR }tusb_bus_event_t; +enum { + DESCRIPTOR_OFFSET_LENGTH = 0, + DESCRIPTOR_OFFSET_TYPE = 1 +}; + #ifdef __cplusplus } #endif |
