summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 245cd38627..07640c3937 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1074,7 +1074,7 @@ static bool view_battery(void)
1074 1074
1075 lcd_putsf(0, line++, "State: %s", chrgstate_strings[y]); 1075 lcd_putsf(0, line++, "State: %s", chrgstate_strings[y]);
1076 1076
1077 lcd_putsf(0, line++, "%s Switch: %s", "Battery", 1077 lcd_putsf(0, line++, "%s Switch: %s", "Battery",
1078 (st & POWER_INPUT_BATTERY) ? "On" : "Off"); 1078 (st & POWER_INPUT_BATTERY) ? "On" : "Off");
1079 1079
1080 y = chrgraw_adc_voltage(); 1080 y = chrgraw_adc_voltage();
@@ -1405,6 +1405,7 @@ static int disk_callback(int btn, struct gui_synclist *lists)
1405 volume_size( IF_MV(0,) NULL, &free ); 1405 volume_size( IF_MV(0,) NULL, &free );
1406 simplelist_addline( 1406 simplelist_addline(
1407 "Free: %ld MB", free / 1024); 1407 "Free: %ld MB", free / 1024);
1408 simplelist_addline("SSD detected: %s", ata_disk_isssd() ? "yes" : "no");
1408 simplelist_addline( 1409 simplelist_addline(
1409 "Spinup time: %d ms", storage_spinup_time() * (1000/HZ)); 1410 "Spinup time: %d ms", storage_spinup_time() * (1000/HZ));
1410 i = identify_info[82] & (1<<3); 1411 i = identify_info[82] & (1<<3);
@@ -1512,6 +1513,7 @@ static int disk_callback(int btn, struct gui_synclist *lists)
1512 i = identify_info[0] & (1 << 7); 1513 i = identify_info[0] & (1 << 7);
1513 simplelist_addline( 1514 simplelist_addline(
1514 "Removeable media: %s", i ? "yes" : "no"); 1515 "Removeable media: %s", i ? "yes" : "no");
1516
1515 return btn; 1517 return btn;
1516} 1518}
1517 1519