diff options
| author | hathach <[email protected]> | 2021-05-22 18:17:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-22 18:17:32 +0700 |
| commit | 350dfb2ea37cebc59ef9fd6b63d2aae1b8cb48da (patch) | |
| tree | 7cd0638ed1008480ea58054cb2ef5d35f1660520 /examples/host | |
| parent | 89dad1ad414e36aa3f0d69b35d06ec82c3e0f168 (diff) | |
more hid api rename
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/hid_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/hid_app.c b/examples/host/cdc_msc_hid/src/hid_app.c index 628ab3e7d..eab555fc1 100644 --- a/examples/host/cdc_msc_hid/src/hid_app.c +++ b/examples/host/cdc_msc_hid/src/hid_app.c @@ -68,7 +68,7 @@ void tuh_hid_mounted_cb(uint8_t dev_addr, uint8_t instance, uint8_t const* desc_ // Interface protocol const char* protocol_str[] = { "None", "Keyboard", "Mouse" }; // hid_protocol_type_t - uint8_t const interface_protocol = tuh_n_hid_interface_protocol(dev_addr, instance); + uint8_t const interface_protocol = tuh_hid_interface_protocol(dev_addr, instance); printf(", Interface protocol = %s, ", protocol_str[interface_protocol]); } |
