diff options
| author | hathach <[email protected]> | 2023-11-24 18:35:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-11-24 18:35:00 +0700 |
| commit | f469250fa34929b1890500b1d7abfb2a7bb7dcc5 (patch) | |
| tree | d188049cd9b874a5400987c53474e947e55f5223 /src/class/hid/hid_host.h | |
| parent | 2fed722b0004e64667df526043f3bfcb131d3ee3 (diff) | |
minor update
Diffstat (limited to 'src/class/hid/hid_host.h')
| -rw-r--r-- | src/class/hid/hid_host.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h index 3c59e301d..238b7c627 100644 --- a/src/class/hid/hid_host.h +++ b/src/class/hid/hid_host.h @@ -97,9 +97,8 @@ uint8_t tuh_hid_parse_report_descriptor(tuh_hid_report_info_t* reports_info_arr, // Application can use set_protocol() to switch back to Report protocol. uint8_t tuh_hid_get_protocol(uint8_t dev_addr, uint8_t idx); -// Device by default is initialized in Boot protocol for simplicity. Application -// can use this to modify the default protocol before calling tuh_init(), or use -// set_protocol() to change the protocol after initialization. +// Device by default is enumerated in Boot protocol for simplicity. Application +// can use this to modify the default protocol for next enumeration. void tuh_hid_set_default_protocol(uint8_t protocol); // Set protocol to HID_PROTOCOL_BOOT (0) or HID_PROTOCOL_REPORT (1) |
