瀏覽代碼

[DeviceDrivers]Modify SFUD's config for suitable more compilers.

armink 9 年之前
父節點
當前提交
b2e14f7641
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/drivers/spi/sfud/inc/sfud_cfg.h

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

@@ -57,6 +57,6 @@
 #error "Please configure RT_SFUD_USING_SFDP or RT_SFUD_USING_FLASH_INFO_TABLE at least one kind of mode (in rtconfig.h)."
 #endif
 
-#define SFUD_FLASH_DEVICE_TABLE NULL
+#define SFUD_FLASH_DEVICE_TABLE {0}
 
 #endif /* _SFUD_CFG_H_ */