Ver Fonte

Merge pull request #3061 from BernardXiong/bernard_fix_sfud_warning

[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
Bernard Xiong há 5 anos atrás
pai
commit
03df728b4a
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 #endif
 
-#define SFUD_FLASH_DEVICE_TABLE {0}
+#define SFUD_FLASH_DEVICE_TABLE {{0}}
 
 #endif /* _SFUD_CFG_H_ */