summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-04-19 17:46:34 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-04-19 17:46:34 +0000
commitea3c3e0705d7ddcf3591d9e3b26b9cfd7fb0d329 (patch)
treee181a8f93c6d0b2b5b8341f2d8e0be9ff43b457b /apps/main_menu.c
parenta5838f5327ce0cf10175393aa2d3c6f1d05d294b (diff)
battery level announcement fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4517 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index a8347fb5df..60c56b6545 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -163,13 +163,15 @@ bool show_info(void)
if (global_settings.talk_menu)
{ /* say whatever is reasonable, no real connection to the screen */
+ bool enqueue = false; /* enqueue all but the first */
if (battery_level() >= 0)
{
- talk_id(LANG_BATTERY_TIME, true);
+ talk_id(LANG_BATTERY_TIME, enqueue);
+ enqueue = true;
talk_value(battery_level(), UNIT_PERCENT, true);
}
- talk_id(LANG_DISK_FREE_STAT, false);
+ talk_id(LANG_DISK_FREE_STAT, enqueue);
talk_number(free / 1024, true);
decimal = free % 1024 / 100;
talk_id(VOICE_POINT, true);