Browse Source

[stm32f407-explorer] remove FAL_USING_AUTO_INIT

Meco Man 4 years ago
parent
commit
ad2e60d716
1 changed files with 0 additions and 2 deletions
  1. 0 2
      bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c

+ 0 - 2
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)