summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-17 12:47:48 +0700
committerhathach <[email protected]>2021-06-28 17:39:57 +0700
commit58d3e8c08b05ac00bd2510c04f7679b5f7503404 (patch)
tree3611010f22895a1d487c8c7bbe76112b1888616c /src
parentc99b70c08cb9c3b252e015fd455c35674282aa91 (diff)
update func comment
Diffstat (limited to 'src')
-rw-r--r--src/class/hid/hid_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h
index b95f0d9b7..ef203123d 100644
--- a/src/class/hid/hid_host.h
+++ b/src/class/hid/hid_host.h
@@ -67,7 +67,8 @@ bool tuh_hid_mounted(uint8_t dev_addr, uint8_t instance);
uint8_t tuh_hid_interface_protocol(uint8_t dev_addr, uint8_t instance);
// Get current protocol: HID_PROTOCOL_BOOT (0) or HID_PROTOCOL_REPORT (1)
-// Note: device will be initialized in Boot protocol for simplicity.
+// Note: Device will be initialized in Boot protocol for simplicity.
+// Application can use set_protocol() to switch back to Report protocol.
uint8_t tuh_hid_get_protocol(uint8_t dev_addr, uint8_t instance);
// Set protocol to HID_PROTOCOL_BOOT (0) or HID_PROTOCOL_REPORT (1)