summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarmink <[email protected]>2016-10-10 20:26:21 +0800
committerarmink <[email protected]>2016-10-10 20:26:21 +0800
commitb2e14f76413e8e1984b064d7f3935e3286945c4f (patch)
treea33a6a0101aa1899e8f2416954c2abd3af5ad7a6
parent32bf9e29b72346dada0d97d772088d73bfbf6b5b (diff)
[DeviceDrivers]Modify SFUD's config for suitable more compilers.
-rw-r--r--components/drivers/spi/sfud/inc/sfud_cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/spi/sfud/inc/sfud_cfg.h b/components/drivers/spi/sfud/inc/sfud_cfg.h
index 61225ecf62..eb79f84dc3 100644
--- a/components/drivers/spi/sfud/inc/sfud_cfg.h
+++ b/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_ */