Skip to content

Commit

Permalink
change(esp_tinyusb): Updated weak definition
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Dec 11, 2024
1 parent 7a094b7 commit 7bcc554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/esp_tinyusb/tinyusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static usb_phy_handle_t phy_hdl;
* @note
* For backward compatibility, when tusb_teardown() call is not implemented.
*/
__attribute__ ((weak)) bool tusb_teardown(void)
__attribute__ ((weak)) bool tusb_teardown(uint8_t rhport)
{
ESP_LOGW(TAG, "%s has not implemented, please update tinyusb component", __FUNCTION__);
return true;
Expand Down

0 comments on commit 7bcc554

Please sign in to comment.