Merge pull request #1479 from openmv/ulpi_fix

Fix ULPI DIR pin definition.
This commit is contained in:
Ibrahim Abd Elkader 2021-12-29 17:16:04 +02:00 committed by GitHub
commit 20f44f3478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.