summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-28 15:57:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-28 15:57:59 +0000
commitb92c0cf3ebe5c1069c3410db388db81648bca00c (patch)
treeb9de93042bbdb1f7736db8290d5f22d71313f79f /apps
parent95b56673e8448c54bd4306fea08103b1bd8d81a9 (diff)
Removed the boot count and brushed up the info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main_menu.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index d1219e4e25..dfe5b46b56 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -142,26 +142,23 @@ void show_info(void)
lcd_puts(0, 0, "Rockbox info:");
/* TODO: add disk size/usage info, battery charge etc here? */
-#ifdef HAVE_RTC
- snprintf(s, sizeof(s), "Booted: %d times", global_settings.total_boots);
- lcd_puts(0, 2, s);
-#endif
-
integer = buflen / 100;
decimal = buflen % 100;
#ifdef HAVE_LCD_CHARCELLS
- snprintf(s, sizeof(s), "Buf: %d.%02dM", integer, decimal);
+ snprintf(s, sizeof(s), "Buf: %d.%02dMb", integer, decimal);
+ lcd_puts(0, 0, s);
#else
snprintf(s, sizeof(s), "Buffer: %d.%02d Mb", integer, decimal);
+ lcd_puts(0, 2, s);
#endif
- lcd_puts(0, 3, s);
#ifdef HAVE_LCD_CHARCELLS
snprintf(s, sizeof(s), "Batt: %d%%", battery_level());
+ lcd_puts(0, 1, s);
#else
snprintf(s, sizeof(s), "Battery: %d%%", battery_level());
+ lcd_puts(0, 3, s);
#endif
- lcd_puts(0, 4, s);
lcd_update();