code cleanup
This commit is contained in:
parent
8b7f6193a3
commit
9771d3170b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue