mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
code cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user