Explorar el Código

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

armink hace 9 años
padre
commit
b2e14f7641
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

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