usb: fixed a typo in configure_pins

This commit is contained in:
Andrei Gramakov 2020-06-01 14:17:15 +02:00
parent 738e9f76fd
commit 50f7678403

View file

@ -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);
}
}