[BSP][STM32]增加GPIO驱动对GPIOK时钟初始化
This commit is contained in:
parent
23e61b03cc
commit
6a150c0963
|
@ -770,6 +770,10 @@ int rt_hw_pin_init(void)
|
|||
__HAL_RCC_GPIOJ_CLK_ENABLE();
|
||||
#endif
|
||||
|
||||
#if defined(__HAL_RCC_GPIOK_CLK_ENABLE)
|
||||
__HAL_RCC_GPIOK_CLK_ENABLE();
|
||||
#endif
|
||||
|
||||
return rt_device_pin_register("pin", &_stm32_pin_ops, RT_NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue