refractor hid device driver

This commit is contained in:
hathach
2013-12-02 14:17:51 +07:00
parent 2c8b8ea529
commit 1ad78f104e
9 changed files with 172 additions and 199 deletions
+4
View File
@@ -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)
{