mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
boards/stm32wl5/flash: add missing {} to struct init
When CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE is bigger than 0, compilation
will fail because of missing "{}" in struct initialization.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
This commit is contained in:
committed by
Xiang Xiao
parent
d11816cc39
commit
5e75dd9be3
@@ -109,10 +109,12 @@ static const struct part_table part_table[] =
|
||||
},
|
||||
|
||||
#if CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE > 0
|
||||
{
|
||||
.size = CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE,
|
||||
.name = "cpu2-progmem",
|
||||
.mnt = NULL,
|
||||
.fs = "rawfs"
|
||||
},
|
||||
#endif
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user