diff options
| author | hathach <[email protected]> | 2021-02-24 13:19:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-18 12:58:24 +0700 |
| commit | 98f5082191e2135ca783a24a39f95ee82639b9fc (patch) | |
| tree | 351424d7e03771579cbabc0899566710c25c8e08 /src/class/hid/hid_host.h | |
| parent | 1dd2cd43dda857de3f4272074c595e663ef09b22 (diff) | |
rename var to be consistent
Diffstat (limited to 'src/class/hid/hid_host.h')
| -rw-r--r-- | src/class/hid/hid_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h index 5c77398f8..174601594 100644 --- a/src/class/hid/hid_host.h +++ b/src/class/hid/hid_host.h @@ -196,7 +196,7 @@ void tuh_hid_generic_isr(uint8_t dev_addr, xfer_result_t event); // Internal Class Driver API //--------------------------------------------------------------------+ void hidh_init(void); -bool hidh_open_subtask(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length); +bool hidh_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *desc_itf, uint16_t *p_length); bool hidh_set_config(uint8_t dev_addr, uint8_t itf_num); bool hidh_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); void hidh_close(uint8_t dev_addr); |
