summaryrefslogtreecommitdiffstats
path: root/apps/screens.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-07 09:28:07 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-07 09:28:07 +0000
commitc14430a9c198c261990ceff77bdfa0856ebcf5fe (patch)
tree04f4f2b479093630c7acde360c0d59de55f8710f /apps/screens.c
parent51b75d5d3def842cdcf02576eb963a494e26b1b1 (diff)
downloadrockbox-c14430a9c198c261990ceff77bdfa0856ebcf5fe.tar.gz
rockbox-c14430a9c198c261990ceff77bdfa0856ebcf5fe.tar.bz2
rockbox-c14430a9c198c261990ceff77bdfa0856ebcf5fe.zip
compile talk.c on hwcodec sim. it wont actually talk though
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/screens.c b/apps/screens.c
index ecd989043b..642d523c1d 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1286,14 +1286,12 @@ static char* runtime_get_data(int selected_item, void* data, char* buffer)
static int runtime_speak_data(int selected_item, void* data)
{
- (void) data;(void)selected_item;
-#if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC
+ (void) data;
long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME};
talk_ids(false,
title_ids[selected_item/2],
TALK_ID((selected_item == 0) ? global_status.runtime
: global_status.topruntime, UNIT_TIME));
-#endif
return 0;
}