From ad2e60d716981ff0e04bafff3dbd3fa177ab04b8 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Tue, 17 Aug 2021 06:42:37 -0400 Subject: [PATCH] [stm32f407-explorer] remove FAL_USING_AUTO_INIT --- bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c b/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c index 78ee5d0967..529b1e1157 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c +++ b/bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c @@ -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) -- GitLab