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 efa3039 commit 6cbea0aCopy full SHA for 6cbea0a
boot/boot_serial/src/boot_serial.c
@@ -290,7 +290,7 @@ bs_list(char *buf, int len)
290
zcbor_list_start_encode(cbor_state, 5);
291
image_index = 0;
292
IMAGES_ITER(image_index) {
293
-#ifdef MCUBOOT_SERIAL_IMG_GRP_IMAGE_STATE
+#if defined(MCUBOOT_SERIAL_IMG_GRP_IMAGE_STATE) || defined(MCUBOOT_SWAP_USING_OFFSET)
294
int swap_status = boot_swap_type_multi(image_index);
295
#endif
296
0 commit comments