Merge pull request #4352 from DavidLin1577/patch-7
Mini optimized the spi_flash_init.c
This commit is contained in:
commit
3b003937e8
|
@ -22,7 +22,7 @@ static int rt_hw_spi_flash_init(void)
|
|||
if (RT_NULL == rt_sfud_flash_probe("W25Q64", "spi30"))
|
||||
{
|
||||
return -RT_ERROR;
|
||||
};
|
||||
}
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue