boards/stm32wl5/flash: fix invalid #ifdef config to enable flash

Invalid #ifdef macro results in flash never being used.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
This commit is contained in:
Michał Łyszczek 2022-07-29 00:14:42 +02:00 committed by Xiang Xiao
parent 7cb421e866
commit d8b214ce9a

View File

@ -116,7 +116,7 @@ int board_app_initialize(uintptr_t arg)
}
#endif
#if defined(CONFIG_ARCH_BOARD_ENABLE_FLASH_MOUNT)
#if defined(CONFIG_ARCH_BOARD_FLASH_MOUNT)
/* Register partition table for on-board FLASH memory */
ret = stm32wl5_flash_init();