summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 571ab09ce5..e55aa12111 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1107,7 +1107,7 @@ static bool dbg_disk_info(void)
1107 bool done = false; 1107 bool done = false;
1108 int i; 1108 int i;
1109 int page = 0; 1109 int page = 0;
1110 const int max_page = 2; 1110 const int max_page = 3;
1111 unsigned short* identify_info = ata_get_identify(); 1111 unsigned short* identify_info = ata_get_identify();
1112 1112
1113 while(!done) 1113 while(!done)
@@ -1146,6 +1146,13 @@ static bool dbg_disk_info(void)
1146 (unsigned)identify_info[60]) / 2048 ); 1146 (unsigned)identify_info[60]) / 2048 );
1147 lcd_puts(0, y++, "Size"); 1147 lcd_puts(0, y++, "Size");
1148 lcd_puts(0, y++, buf); 1148 lcd_puts(0, y++, buf);
1149 break;
1150
1151 case 3:
1152 snprintf(buf, sizeof buf, "%d ms", ata_spinup_time * (1000/HZ));
1153 lcd_puts(0, y++, "Spinup time");
1154 lcd_puts(0, y++, buf);
1155 break;
1149 } 1156 }
1150 lcd_update(); 1157 lcd_update();
1151 1158