mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
update func comment
This commit is contained in:
parent
c99b70c08c
commit
58d3e8c08b
@ -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);
|
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)
|
// 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);
|
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)
|
// Set protocol to HID_PROTOCOL_BOOT (0) or HID_PROTOCOL_REPORT (1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user