Browse Source

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

armink 8 years ago
parent
commit
b2e14f7641
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

@@ -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)."
 #error "Please configure RT_SFUD_USING_SFDP or RT_SFUD_USING_FLASH_INFO_TABLE at least one kind of mode (in rtconfig.h)."
 #endif
 #endif
 
 
-#define SFUD_FLASH_DEVICE_TABLE NULL
+#define SFUD_FLASH_DEVICE_TABLE {0}
 
 
 #endif /* _SFUD_CFG_H_ */
 #endif /* _SFUD_CFG_H_ */