diff options
| author | hathach <[email protected]> | 2018-12-06 22:47:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-06 22:47:49 +0700 |
| commit | 07c3fd5e1e6faf75c206a2abb8be739b78db801b (patch) | |
| tree | 423185399e25330794d0b5e2875192cd4db98bc7 /src/class/cdc/cdc_host.h | |
| parent | 7d3ff7aff6aed13377a4cd12f1d8f2ad91720f80 (diff) | |
clean up hub
Diffstat (limited to 'src/class/cdc/cdc_host.h')
| -rw-r--r-- | src/class/cdc/cdc_host.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/cdc/cdc_host.h b/src/class/cdc/cdc_host.h index 0b863bb61..3252aa48d 100644 --- a/src/class/cdc/cdc_host.h +++ b/src/class/cdc/cdc_host.h @@ -149,10 +149,10 @@ typedef struct { extern cdch_data_t cdch_data[CFG_TUSB_HOST_DEVICE_MAX]; // TODO consider to move to cdch internal header file
-void cdch_init(void);
-tusb_error_t cdch_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
-void cdch_isr(pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
-void cdch_close(uint8_t dev_addr);
+void cdch_init(void);
+bool cdch_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
+void cdch_isr(pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
+void cdch_close(uint8_t dev_addr);
#endif
|
