update to use HID spec protocol value for get/set_protocol()

This commit is contained in:
hathach
2021-05-18 12:38:11 +07:00
parent e163f85ee0
commit 7e9e682e09
3 changed files with 11 additions and 10 deletions

View File

@@ -142,11 +142,11 @@ typedef enum
} hid_local_enum_t;
// HID protocol value used by GetProtocol / SetProtocol
enum
typedef enum
{
HID_PROTOCOL_BOOT = 0,
HID_PROTOCOL_REPORT = 1
};
} hid_protocol_mode_enum_t;
/** @} */