Fix ULPI DIR pin definition.

This commit is contained in:
iabdalkader 2021-12-29 16:20:28 +02:00
parent 676660e586
commit 804b510ac7
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
#define OMV_USB_IRQN (OTG_HS_IRQn)
#define OMV_USB_ULPI (1)
#define OMV_USB_ULPI_DIR_PORT (GPIOC)
#define OMV_USB_ULPI_DIR_PIN (2)
#define OMV_USB_ULPI_DIR_PIN (GPIO_PIN_2)
#define OMV_USB_ULPI_DIR_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE()
// Defined for cpu frequency scaling to override the revid.

View File

@ -89,7 +89,7 @@
#define OMV_USB_IRQN (OTG_HS_IRQn)
#define OMV_USB_ULPI (1)
#define OMV_USB_ULPI_DIR_PORT (GPIOI)
#define OMV_USB_ULPI_DIR_PIN (11)
#define OMV_USB_ULPI_DIR_PIN (GPIO_PIN_11)
#define OMV_USB_ULPI_DIR_CLK_ENABLE() __HAL_RCC_GPIOI_CLK_ENABLE()
// Defined for cpu frequency scaling to override the revid.