summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-09-11 12:24:17 +0800
committerGitHub <[email protected]>2019-09-11 12:24:17 +0800
commit03df728b4a9ba00be394bc7d64fa6b84701667a2 (patch)
tree8e79d3f2ad64afcfa74cb04da76c194d9bbb2046 /components
parentc6b7d14bf4b4e19d839075eabca87e3697441d63 (diff)
parent7464427894b398e6be7a53358d8a53b6ab81f42f (diff)
Merge pull request #3061 from BernardXiong/bernard_fix_sfud_warning
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
Diffstat (limited to 'components')
-rw-r--r--components/drivers/spi/sfud/inc/sfud_cfg.h2
1 files changed, 1 insertions, 1 deletions
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_ */