forked from len0rd/rockbox
FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
877ea486ba
commit
32a9575130
22 changed files with 161 additions and 186 deletions
|
|
@ -160,7 +160,7 @@ static int browser(void* param)
|
|||
|
||||
/* Display building progress */
|
||||
static long talked_tick = 0;
|
||||
if(talk_menus_enabled() &&
|
||||
if(global_settings.talk_menu &&
|
||||
(talked_tick == 0
|
||||
|| TIME_AFTER(current_tick, talked_tick+7*HZ)))
|
||||
{
|
||||
|
|
@ -238,7 +238,7 @@ static int wpsscrn(void* param)
|
|||
(void)param;
|
||||
if (audio_status())
|
||||
{
|
||||
shutup();
|
||||
talk_shutup();
|
||||
ret_val = gui_wps_show();
|
||||
}
|
||||
else if ( global_status.resume_index != -1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue