Skip to content

Commit 37a58b5

Browse files
authored
Merge pull request #4950 from mysterywolf/407
[stm32f407-explorer] remove FAL_USING_AUTO_INIT
2 parents 196f340 + ad2e60d commit 37a58b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ static int onboard_spiflash_mount(void)
8383
{
8484
struct rt_device *mtd_dev = RT_NULL;
8585

86-
#ifndef FAL_USING_AUTO_INIT
8786
fal_init();
88-
#endif
8987

9088
mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME);
9189
if (!mtd_dev)

0 commit comments

Comments
 (0)