From 7464427894b398e6be7a53358d8a53b6ab81f42f Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 11 Sep 2019 10:24:50 +0800 Subject: [PATCH] [SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition --- components/drivers/spi/sfud/inc/sfud_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/spi/sfud/inc/sfud_cfg.h b/components/drivers/spi/sfud/inc/sfud_cfg.h index 051de6d577..3b7860062d 100644 --- a/components/drivers/spi/sfud/inc/sfud_cfg.h +++ b/components/drivers/spi/sfud/inc/sfud_cfg.h @@ -59,6 +59,6 @@ #define SFUD_USING_FLASH_INFO_TABLE #endif -#define SFUD_FLASH_DEVICE_TABLE {0} +#define SFUD_FLASH_DEVICE_TABLE {{0}} #endif /* _SFUD_CFG_H_ */