4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-31 03:37:19 +08:00

[stm32f407-explorer] remove FAL_USING_AUTO_INIT

This commit is contained in:
Meco Man 2021-08-17 06:42:37 -04:00
parent 146269ce2e
commit ad2e60d716

View File

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