Skip to content

Commit

Permalink
Merge pull request #2854 from roma-jam/fix/esp32p4_device
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach authored Nov 10, 2024
2 parents 9d86ca1 + fde947b commit a8903d3
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 @@ -68,7 +68,7 @@ bool tusb_rhport_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
.role = TUSB_ROLE_DEVICE,
.speed = TUD_OPT_HIGH_SPEED ? TUSB_SPEED_HIGH : TUSB_SPEED_FULL
};
TU_ASSERT ( tud_rhport_init(rhport, &dev_init) );
TU_ASSERT ( tud_rhport_init(TUD_OPT_RHPORT, &dev_init) );
_tusb_rhport_role[TUD_OPT_RHPORT] = TUSB_ROLE_DEVICE;
#endif

Expand Down

0 comments on commit a8903d3

Please sign in to comment.