diff options
| author | Bernard Xiong <[email protected]> | 2019-09-11 12:24:17 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-11 12:24:17 +0800 |
| commit | 03df728b4a9ba00be394bc7d64fa6b84701667a2 (patch) | |
| tree | 8e79d3f2ad64afcfa74cb04da76c194d9bbb2046 | |
| parent | c6b7d14bf4b4e19d839075eabca87e3697441d63 (diff) | |
| parent | 7464427894b398e6be7a53358d8a53b6ab81f42f (diff) | |
Merge pull request #3061 from BernardXiong/bernard_fix_sfud_warning
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
| -rw-r--r-- | components/drivers/spi/sfud/inc/sfud_cfg.h | 2 |
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 051de6d577..3b7860062d 100644 --- a/components/drivers/spi/sfud/inc/sfud_cfg.h +++ b/components/drivers/spi/sfud/inc/sfud_cfg.h @@ -59,6 +59,6 @@ #define SFUD_USING_FLASH_INFO_TABLE #endif -#define SFUD_FLASH_DEVICE_TABLE {0} +#define SFUD_FLASH_DEVICE_TABLE {{0}} #endif /* _SFUD_CFG_H_ */ |
