diff options
| author | hathach <[email protected]> | 2024-03-22 11:42:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-03-22 11:42:33 +0700 |
| commit | 74bd2647589790b3bee49146774133c2061a34fe (patch) | |
| tree | e318a7b93b7f00133f4b658458548b3e4c61270d /src/host/hub.h | |
| parent | 08b09926a4f33d94b15d7e87b88b1b9a14b95388 (diff) | |
adding deinit() stub for usbh/hcd class driver
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
Diffstat (limited to 'src/host/hub.h')
| -rw-r--r-- | src/host/hub.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/hub.h b/src/host/hub.h index 390740e1f..c3f4a3612 100644 --- a/src/host/hub.h +++ b/src/host/hub.h @@ -205,6 +205,7 @@ static inline bool hub_port_clear_reset_change(uint8_t hub_addr, uint8_t hub_por // Internal Class Driver API //--------------------------------------------------------------------+ void hub_init (void); +bool hub_deinit (void); bool hub_open (uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *itf_desc, uint16_t max_len); bool hub_set_config (uint8_t dev_addr, uint8_t itf_num); bool hub_xfer_cb (uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); |
