Переглянути джерело

[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_ */