summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-09-11 10:24:50 +0800
committerBernard Xiong <[email protected]>2019-09-11 10:24:50 +0800
commit7464427894b398e6be7a53358d8a53b6ab81f42f (patch)
treee9ed8095bfcce715e5f998bcd18226b207c0d2a5
parent2ed84b61b057482d8554a9b181ddb398b5d4ff96 (diff)
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
-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_ */