mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
bootloader: Fix GPIO clock macros.
This commit is contained in:
parent
a2bedfd683
commit
240332d30b
@ -39,22 +39,22 @@ void HAL_MspInit() {
|
|||||||
__GPIOC_CLK_ENABLE();
|
__GPIOC_CLK_ENABLE();
|
||||||
__GPIOD_CLK_ENABLE();
|
__GPIOD_CLK_ENABLE();
|
||||||
__GPIOE_CLK_ENABLE();
|
__GPIOE_CLK_ENABLE();
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_F
|
#ifdef OMV_GPIO_PORT_F_ENABLE
|
||||||
__GPIOF_CLK_ENABLE();
|
__GPIOF_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_G
|
#ifdef OMV_GPIO_PORT_G_ENABLE
|
||||||
__GPIOG_CLK_ENABLE();
|
__GPIOG_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_H
|
#ifdef OMV_GPIO_PORT_H_ENABLE
|
||||||
__GPIOH_CLK_ENABLE();
|
__GPIOH_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_I
|
#ifdef OMV_GPIO_PORT_I_ENABLE
|
||||||
__GPIOI_CLK_ENABLE();
|
__GPIOI_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_J
|
#ifdef OMV_GPIO_PORT_J_ENABLE
|
||||||
__GPIOJ_CLK_ENABLE();
|
__GPIOJ_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
#ifdef OMV_ENABLE_GPIO_BANK_K
|
#ifdef OMV_GPIO_PORT_K_ENABLE
|
||||||
__GPIOK_CLK_ENABLE();
|
__GPIOK_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user