8000 Align dfu BOOTLOADER_DESC_STR · arduino/mcuboot-arduino-stm32h7@089917d · GitHub
[go: up one dir, main page]

Skip to content

Commit 089917d

Browse files
committed
Align dfu BOOTLOADER_DESC_STR
1 parent d04eb7b commit 089917d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/dfu/usbd_dfu_flash.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ void init_Memories() {
8585
dfu_secondary_bd->init();
8686
}
8787
if(boot_empty_keys()) {
88-
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@Arduino boot v.%d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
88+
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@Arduino boot v.%02d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
8989
} else {
90-
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@MCUboot v.%d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
90+
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@MCUboot v.%02d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
9191
}
9292
}
9393

0 commit comments

Comments
 (0)
0