diff --git a/components/tinyusb/port/esp32s2/src/tinyusb.c b/components/tinyusb/port/esp32s2/src/tinyusb.c index 6c5792a99..868992374 100644 --- a/components/tinyusb/port/esp32s2/src/tinyusb.c +++ b/components/tinyusb/port/esp32s2/src/tinyusb.c @@ -38,7 +38,7 @@ static void configure_pins(usb_hal_context_t *usb) } } if (!usb->use_external_phy) { - gpio_set_drive_capability(USBPHY_DP_NUM, GPIO_DRIVE_CAP_3); + gpio_set_drive_capability(USBPHY_DM_NUM, GPIO_DRIVE_CAP_3); gpio_set_drive_capability(USBPHY_DP_NUM, GPIO_DRIVE_CAP_3); } }