diff options
| author | hathach <[email protected]> | 2021-06-17 12:47:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-28 17:39:57 +0700 |
| commit | 58d3e8c08b05ac00bd2510c04f7679b5f7503404 (patch) | |
| tree | 3611010f22895a1d487c8c7bbe76112b1888616c /src | |
| parent | c99b70c08cb9c3b252e015fd455c35674282aa91 (diff) | |
update func comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_host.h | 3 |
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) |
