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 78ee5d0967f4d43e55a490132b1881a688138142..529b1e1157908842458e231bb22bb83c90b51318 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)