Skip to content

Commit 00b8c08

Browse files
de-nordicCopilot
andauthored
Update boot/zephyr/flash_map_extended.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8b8c2e0 commit 00b8c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/flash_map_extended.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ __weak uint8_t flash_area_erased_val(const struct flash_area *fap)
165165
return ERASED_VAL;
166166
}
167167

168-
#if defined(CONFIG_MCUBOOT_LOGICAL_SECTOR_SIZE) && CONFIG_MCUBOOT_LOGICAL_SECTOR_SIZE == 0 || \
168+
#if (defined(CONFIG_MCUBOOT_LOGICAL_SECTOR_SIZE) && CONFIG_MCUBOOT_LOGICAL_SECTOR_SIZE == 0) || \
169169
defined(CONFIG_MCUBOOT_LOGICAL_SECTOR_VALIDATION)
170170
int flash_area_sector_from_off(off_t off, struct flash_sector *sector)
171171
{

0 commit comments

Comments
 (0)