summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorguo <[email protected]>2021-08-18 09:50:54 +0800
committerGitHub <[email protected]>2021-08-18 09:50:54 +0800
commit37a58b53472935ecf212b57665675d153ef6ecbe (patch)
treed28d0a8d228871e26cb12d520d95ca0665c0a659 /bsp/stm32
parent196f340e5d845efd005b57a2089e0642266a79be (diff)
parentad2e60d716981ff0e04bafff3dbd3fa177ab04b8 (diff)
Merge pull request #4950 from mysterywolf/407
[stm32f407-explorer] remove FAL_USING_AUTO_INIT
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c2
1 files changed, 0 insertions, 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)