diff options
| author | hathach <[email protected]> | 2013-12-02 14:17:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-02 14:17:51 +0700 |
| commit | 1ad78f104ed87957bd4cf7e15029ab3e4e3cb377 (patch) | |
| tree | 31c480a19f5c48682e3543f892a707628d89c09a /tinyusb/common | |
| parent | 2c8b8ea52962fad5e1f5146ef7cdef600acee6a5 (diff) | |
refractor hid device driver
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/tusb_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/common/tusb_types.h b/tinyusb/common/tusb_types.h index 0c98b2aab..db2cfee31 100644 --- a/tinyusb/common/tusb_types.h +++ b/tinyusb/common/tusb_types.h @@ -212,6 +212,10 @@ enum { DESCRIPTOR_OFFSET_TYPE = 1 }; +enum { + INTERFACE_INVALID_NUMBER = 0xff +}; + static inline uint8_t std_class_code_to_index(uint8_t std_class_code) ATTR_CONST ATTR_ALWAYS_INLINE; static inline uint8_t std_class_code_to_index(uint8_t std_class_code) { |
