[stm32f407-explorer] remove FAL_USING_AUTO_INIT
This commit is contained in:
parent
146269ce2e
commit
ad2e60d716
|
@ -83,9 +83,7 @@ static int onboard_spiflash_mount(void)
|
||||||
{
|
{
|
||||||
struct rt_device *mtd_dev = RT_NULL;
|
struct rt_device *mtd_dev = RT_NULL;
|
||||||
|
|
||||||
#ifndef FAL_USING_AUTO_INIT
|
|
||||||
fal_init();
|
fal_init();
|
||||||
#endif
|
|
||||||
|
|
||||||
mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME);
|
mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME);
|
||||||
if (!mtd_dev)
|
if (!mtd_dev)
|
||||||
|
|
Loading…
Reference in New Issue