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)
downloadrockbox-b92c0cf3ebe5c1069c3410db388db81648bca00c.tar.gz
rockbox-b92c0cf3ebe5c1069c3410db388db81648bca00c.zip
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)
142 lcd_puts(0, 0, "Rockbox info:"); 142 lcd_puts(0, 0, "Rockbox info:");
143 /* TODO: add disk size/usage info, battery charge etc here? */ 143 /* TODO: add disk size/usage info, battery charge etc here? */
144 144
145#ifdef HAVE_RTC
146 snprintf(s, sizeof(s), "Booted: %d times", global_settings.total_boots);
147 lcd_puts(0, 2, s);
148#endif
149
150 integer = buflen / 100; 145 integer = buflen / 100;
151 decimal = buflen % 100; 146 decimal = buflen % 100;
152#ifdef HAVE_LCD_CHARCELLS 147#ifdef HAVE_LCD_CHARCELLS
153 snprintf(s, sizeof(s), "Buf: %d.%02dM", integer, decimal); 148 snprintf(s, sizeof(s), "Buf: %d.%02dMb", integer, decimal);
149 lcd_puts(0, 0, s);
154#else 150#else
155 snprintf(s, sizeof(s), "Buffer: %d.%02d Mb", integer, decimal); 151 snprintf(s, sizeof(s), "Buffer: %d.%02d Mb", integer, decimal);
152 lcd_puts(0, 2, s);
156#endif 153#endif
157 lcd_puts(0, 3, s);
158 154
159#ifdef HAVE_LCD_CHARCELLS 155#ifdef HAVE_LCD_CHARCELLS
160 snprintf(s, sizeof(s), "Batt: %d%%", battery_level()); 156 snprintf(s, sizeof(s), "Batt: %d%%", battery_level());
157 lcd_puts(0, 1, s);
161#else 158#else
162 snprintf(s, sizeof(s), "Battery: %d%%", battery_level()); 159 snprintf(s, sizeof(s), "Battery: %d%%", battery_level());
160 lcd_puts(0, 3, s);
163#endif 161#endif
164 lcd_puts(0, 4, s);
165 162
166 lcd_update(); 163 lcd_update();
167 164