summaryrefslogtreecommitdiffstats
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 5e2451e41b..36927dd890 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -2546,7 +2546,16 @@ static bool dbg_boot_data(void)
{
simplelist_addline("Boot data valid");
simplelist_addline("Version: %d", (int)boot_data.version);
- simplelist_addline("Boot volume: %d", (int)boot_data.boot_volume);
+
+ if (boot_data.version == 0)
+ {
+ simplelist_addline("Boot volume: %d", (int)boot_data._boot_volume);
+ }
+ else if (boot_data.version == 1)
+ {
+ simplelist_addline("Boot drive: %d", (int)boot_data.boot_drive);
+ simplelist_addline("Boot partition: %d", (int)boot_data.boot_partition);
+ }
}
simplelist_addline("Bootdata RAW:");