diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 4 |
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) | |||
1286 | 1286 | ||
1287 | static int runtime_speak_data(int selected_item, void* data) | 1287 | static int runtime_speak_data(int selected_item, void* data) |
1288 | { | 1288 | { |
1289 | (void) data;(void)selected_item; | 1289 | (void) data; |
1290 | #if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC | ||
1291 | long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME}; | 1290 | long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME}; |
1292 | talk_ids(false, | 1291 | talk_ids(false, |
1293 | title_ids[selected_item/2], | 1292 | title_ids[selected_item/2], |
1294 | TALK_ID((selected_item == 0) ? global_status.runtime | 1293 | TALK_ID((selected_item == 0) ? global_status.runtime |
1295 | : global_status.topruntime, UNIT_TIME)); | 1294 | : global_status.topruntime, UNIT_TIME)); |
1296 | #endif | ||
1297 | return 0; | 1295 | return 0; |
1298 | } | 1296 | } |
1299 | 1297 | ||