Skip to content

Commit a8903d3

Browse files
authored
Merge pull request #2854 from roma-jam/fix/esp32p4_device
2 parents 9d86ca1 + fde947b commit a8903d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tusb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ bool tusb_rhport_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
6868
.role = TUSB_ROLE_DEVICE,
6969
.speed = TUD_OPT_HIGH_SPEED ? TUSB_SPEED_HIGH : TUSB_SPEED_FULL
7070
};
71-
TU_ASSERT ( tud_rhport_init(rhport, &dev_init) );
71+
TU_ASSERT ( tud_rhport_init(TUD_OPT_RHPORT, &dev_init) );
7272
_tusb_rhport_role[TUD_OPT_RHPORT] = TUSB_ROLE_DEVICE;
7373
#endif
7474

0 commit comments

Comments
 (0)