4
0
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:
guo 2021-08-18 09:50:54 +08:00 committed by GitHub
commit 37a58b5347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)