Mini optimized the 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;
}