mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix ULPI DIR pin definition.
This commit is contained in:
parent
676660e586
commit
804b510ac7
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user