mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 04:10:26 +08:00
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…
x
Reference in New Issue
Block a user