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/host/hub.h | |
| parent | 15ad585e674f14e247aa7e5f42fb84f90f14be8b (diff) | |
change xfer_cb return type from void to bool
Diffstat (limited to 'src/host/hub.h')
| -rw-r--r-- | src/host/hub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hub.h b/src/host/hub.h index 71dd39b8d..f00f13de7 100644 --- a/src/host/hub.h +++ b/src/host/hub.h @@ -182,7 +182,7 @@ bool hub_status_pipe_queue(uint8_t dev_addr); //--------------------------------------------------------------------+ void hub_init(void); bool hub_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *itf_desc, uint16_t *p_length); -void hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); +bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); void hub_close(uint8_t dev_addr); #ifdef __cplusplus |
