update hid host get/set protocol to match device

This commit is contained in:
hathach
2021-05-18 13:12:33 +07:00
parent 40cd3a7e20
commit 2df5a5367f
3 changed files with 12 additions and 12 deletions

View File

@@ -57,7 +57,7 @@
// Check if the interface is ready to use
bool tud_hid_n_ready(uint8_t instance);
// Get interface supported protocol (bInterfaceProtocol) check out hid_interface_protocol_enum_t for possible value
// Get interface supported protocol (bInterfaceProtocol) check out hid_interface_protocol_enum_t for possible values
uint8_t tud_hid_n_interface_protocol(uint8_t instance);
// Get current active protocol: HID_PROTOCOL_BOOT (0) or HID_PROTOCOL_REPORT (1)