Browse Source

Merge pull request #4352 from DavidLin1577/patch-7

Mini optimized the spi_flash_init.c
Bernard Xiong 4 years ago
parent
commit
3b003937e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c

+ 1 - 1
bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c

@@ -22,7 +22,7 @@ static int rt_hw_spi_flash_init(void)
     if (RT_NULL == rt_sfud_flash_probe("W25Q64", "spi30"))
     if (RT_NULL == rt_sfud_flash_probe("W25Q64", "spi30"))
     {
     {
         return -RT_ERROR;
         return -RT_ERROR;
-    };
+    }
 
 
     return RT_EOK;
     return RT_EOK;
 }
 }