Skip to content

Commit

Permalink
revert(tinyusb.h): Reverted lost descritption
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Jan 20, 2025
1 parent 4a12c08 commit b6594b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions device/esp_tinyusb/include/tinyusb.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ typedef struct {
*/
esp_err_t tinyusb_driver_install(const tinyusb_config_t *config);

/**
* @brief This is an all-in-one helper function, including:
* 1. Stops the task to handle usb events
* 2. TinyUSB stack tearing down
* 2. Freeing resources after descriptors preparation
* 3. Deletes USB PHY
*
* @retval ESP_FAIL Uninstall driver or tinyusb stack failed because of internal error
* @retval ESP_OK Uninstall driver, tinyusb stack and USB PHY successfully
*/
esp_err_t tinyusb_driver_uninstall(void);

#ifdef __cplusplus
Expand Down

0 comments on commit b6594b0

Please sign in to comment.