Skip to content

Commit 7bcc554

Browse files
committed
change(esp_tinyusb): Updated weak definition
1 parent 7a094b7 commit 7bcc554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

device/esp_tinyusb/tinyusb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static usb_phy_handle_t phy_hdl;
2525
* @note
2626
* For backward compatibility, when tusb_teardown() call is not implemented.
2727
*/
28-
__attribute__ ((weak)) bool tusb_teardown(void)
28+
__attribute__ ((weak)) bool tusb_teardown(uint8_t rhport)
2929
{
3030
ESP_LOGW(TAG, "%s has not implemented, please update tinyusb component", __FUNCTION__);
3131
return true;

0 commit comments

Comments
 (0)