mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
Merge pull request #4950 from mysterywolf/407
[stm32f407-explorer] remove FAL_USING_AUTO_INIT
This commit is contained in:
commit
37a58b5347
@ -83,9 +83,7 @@ static int onboard_spiflash_mount(void)
|
||||
{
|
||||
struct rt_device *mtd_dev = RT_NULL;
|
||||
|
||||
#ifndef FAL_USING_AUTO_INIT
|
||||
fal_init();
|
||||
#endif
|
||||
|
||||
mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME);
|
||||
if (!mtd_dev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user