diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index c15cb39d3d..a1019f8a5e 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -217,6 +217,17 @@ static void init_tagcache(void) | |||
217 | 217 | ||
218 | if (ret > 0) | 218 | if (ret > 0) |
219 | { | 219 | { |
220 | static long talked_tick = 0; | ||
221 | if(talk_menus_enabled() | ||
222 | && (talked_tick == 0 | ||
223 | || TIME_AFTER(current_tick, talked_tick+7*HZ))) | ||
224 | { | ||
225 | talked_tick = current_tick; | ||
226 | talk_id(LANG_TAGCACHE_INIT, false); | ||
227 | talk_number(ret, true); | ||
228 | talk_id(VOICE_OF, true); | ||
229 | talk_number(tagcache_get_max_commit_step(), true); | ||
230 | } | ||
220 | #ifdef HAVE_LCD_BITMAP | 231 | #ifdef HAVE_LCD_BITMAP |
221 | gui_syncsplash(0, "%s [%d/%d]", | 232 | gui_syncsplash(0, "%s [%d/%d]", |
222 | str(LANG_TAGCACHE_INIT), ret, | 233 | str(LANG_TAGCACHE_INIT), ret, |
@@ -474,7 +485,7 @@ static void init(void) | |||
474 | if (button_hold()) | 485 | if (button_hold()) |
475 | #endif | 486 | #endif |
476 | { | 487 | { |
477 | gui_syncsplash(HZ*2, str(LANG_RESET_DONE_CLEAR)); | 488 | gui_syncsplash(HZ*2, ID2P(LANG_RESET_DONE_CLEAR)); |
478 | settings_reset(); | 489 | settings_reset(); |
479 | } | 490 | } |
480 | else | 491 | else |