Explorar el Código

[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition

Bernard Xiong hace 6 años
padre
commit
7464427894
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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_ */