We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb847b9 commit 90e3149Copy full SHA for 90e3149
lib/sdk11/components/libraries/bootloader_dfu/dfu_single_bank.c
@@ -790,6 +790,9 @@ uint32_t dfu_sd_image_validate(void)
790
uint32_t image_end = bootloader_settings.sd_image_start +
791
bootloader_settings.sd_image_size;
792
793
+ /* ##### FIX START ##### */
794
+ block_size &= ~(uint32_t)(CODE_PAGE_SIZE - 1);
795
+ /* ##### FIX END ##### */
796
uint32_t img_block_start = bootloader_settings.sd_image_start + 2 * block_size;
797
uint32_t sd_block_start = sd_start + 2 * block_size;
798
0 commit comments