提交 6a150c09 编写于 作者: lymzzyh's avatar lymzzyh 提交者: Bernard Xiong

[BSP][STM32]增加GPIO驱动对GPIOK时钟初始化

上级 23e61b03
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册