diff --git a/components/drivers/spi/sfud/inc/sfud_cfg.h b/components/drivers/spi/sfud/inc/sfud_cfg.h index 61225ecf62604d21882c8b4311997470a170a623..eb79f84dc3177e0337dd1622f1416afad3eb1aa0 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_ */