File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -82,19 +82,6 @@ void *ext_hub_get_client(void);
8282
8383// -------------------------- External Hub API ---------------------------------
8484
85- /**
86- * @brief Get External Hub device handle by USBH device handle
87- *
88- * @param[in] dev_hdl USBH device handle
89- * @param[out] ext_hub_hdl External Hub device handle
90- *
91- * @return
92- * - ESP_OK: External Hub device handle successfully obtained
93- * - ESP_ERR_INVALID_STATE: External Hub driver is not installed
94- * - ESP_ERR_NOT_FOUND: Device not found
95- */
96- esp_err_t ext_hub_get_handle (usb_device_handle_t dev_hdl , ext_hub_handle_t * ext_hub_hdl );
97-
9885/**
9986 * @brief Add new device
10087 *
Original file line number Diff line number Diff line change @@ -1215,14 +1215,6 @@ void *ext_hub_get_client(void)
12151215// -------------------------- External Hub API ---------------------------------
12161216// -----------------------------------------------------------------------------
12171217
1218- esp_err_t ext_hub_get_handle (usb_device_handle_t dev_hdl , ext_hub_handle_t * ext_hub_hdl )
1219- {
1220- EXT_HUB_ENTER_CRITICAL ();
1221- EXT_HUB_CHECK_FROM_CRIT (p_ext_hub_driver != NULL , ESP_ERR_INVALID_STATE );
1222- EXT_HUB_EXIT_CRITICAL ();
1223- return get_dev_by_hdl (dev_hdl , ext_hub_hdl );
1224- }
1225-
12261218static esp_err_t find_first_intf_desc (const usb_config_desc_t * config_desc , device_config_t * hub_config )
12271219{
12281220 bool iface_found = false;
You can’t perform that action at this time.
0 commit comments