未验证 提交 9771d317 编写于 作者: B Bernard Xiong 提交者: GitHub

code cleanup

上级 8b7f6193
......@@ -15,6 +15,5 @@ int w5500_spi_device_init()
{
__HAL_RCC_GPIOB_CLK_ENABLE();
return rt_hw_spi_device_attach("spi2","spi20",GPIOB,GPIO_PIN_12);
}
INIT_DEVICE_EXPORT(w5500_spi_device_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册