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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index c1d54ccf97..02b86feefc 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1253,7 +1253,7 @@ static bool dbg_disk_info(void)
bool done = false;
int i;
int page = 0;
- const int max_page = 10;
+ const int max_page = 11;
unsigned short* identify_info = ata_get_identify();
bool timing_info_present = false;
char pio3[2], pio4[2];
@@ -1374,6 +1374,12 @@ static bool dbg_disk_info(void)
lcd_puts(0, y++, "No timing info");
}
break;
+
+ case 11:
+ lcd_puts(0, y++, "Cluster size");
+ snprintf(buf, 128, "%d bytes", fat_get_cluster_size());
+ lcd_puts(0, y++, buf);
+ break;
}
lcd_update();