Skip to content

Commit

Permalink
Merge pull request hathach#2863 from HiFiPhile/warning
Browse files Browse the repository at this point in the history
Fix _rhport_role warning
  • Loading branch information
hathach authored Nov 14, 2024
2 parents 6f11f99 + 0af07f1 commit 7e1c91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "host/usbh_pvt.h"
#endif

tusb_role_t _tusb_rhport_role[TUP_USBIP_CONTROLLER_NUM] = { 0 };
tusb_role_t _tusb_rhport_role[TUP_USBIP_CONTROLLER_NUM] = { TUSB_ROLE_INVALID };

//--------------------------------------------------------------------
// Weak/Default API, can be overwritten by Application
Expand Down

0 comments on commit 7e1c91f

Please sign in to comment.