From 69b95ac979ca5584115b526ae998a19c450df218 Mon Sep 17 00:00:00 2001 From: David Lin Date: Thu, 18 Feb 2021 23:32:23 +0800 Subject: [PATCH] Mini optimized the spi_flash_init.c Delete the ";" --- bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c b/bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c index 526835b59a..e8fd133824 100644 --- a/bsp/stm32/stm32f429-armfly-v6/board/ports/spi_flash_init.c +++ b/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")) { return -RT_ERROR; - }; + } return RT_EOK; }