diff options
| author | hathach <[email protected]> | 2020-09-06 12:11:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-09-06 12:11:07 +0700 |
| commit | b3e81673c0582a07a764981604a560ee3d310ef9 (patch) | |
| tree | 4217a1ebea06224ea3826eec875845015d945297 /src/class/hid/hid_host.h | |
| parent | 15ad585e674f14e247aa7e5f42fb84f90f14be8b (diff) | |
change xfer_cb return type from void to bool
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 54542de55..324dad203 100644 --- a/src/class/hid/hid_host.h +++ b/src/class/hid/hid_host.h @@ -197,7 +197,7 @@ void tuh_hid_generic_isr(uint8_t dev_addr, xfer_result_t event); //--------------------------------------------------------------------+ 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); -void hidh_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); +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); #ifdef __cplusplus |
