Merge pull request #2863 from HiFiPhile/warning

Fix _rhport_role warning
This commit is contained in:
Ha Thach 2024-11-14 10:46:52 +07:00 committed by GitHub
commit 7e1c91fac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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