From 50f76784038d81266337f635d1a04e99863611cf Mon Sep 17 00:00:00 2001 From: Andrei Gramakov Date: Mon, 1 Jun 2020 14:17:15 +0200 Subject: [PATCH] usb: fixed a typo in configure_pins --- components/tinyusb/port/esp32s2/src/tinyusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }