code cleanup

This commit is contained in:
Bernard Xiong 2019-02-01 10:06:34 +08:00 committed by GitHub
parent 8b7f6193a3
commit 9771d3170b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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);