Browse Source

[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition

Bernard Xiong 5 years ago
parent
commit
7464427894
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/spi/sfud/inc/sfud_cfg.h

+ 1 - 1
components/drivers/spi/sfud/inc/sfud_cfg.h

@@ -59,6 +59,6 @@
 #define SFUD_USING_FLASH_INFO_TABLE
 #define SFUD_USING_FLASH_INFO_TABLE
 #endif
 #endif
 
 
-#define SFUD_FLASH_DEVICE_TABLE {0}
+#define SFUD_FLASH_DEVICE_TABLE {{0}}
 
 
 #endif /* _SFUD_CFG_H_ */
 #endif /* _SFUD_CFG_H_ */