mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
talk: Make talk_voice_required() local to talk.c
Change-Id: I3a04760d550efab7f011a917597ef29c039b05bd
This commit is contained in:
parent
60dea95cad
commit
57000b513b
3 changed files with 13 additions and 22 deletions
|
@ -526,12 +526,6 @@ void voice_thread_init(void)
|
|||
if (voice_thread_id != 0)
|
||||
return; /* Already did an init and succeeded at it */
|
||||
|
||||
if (!talk_voice_required())
|
||||
{
|
||||
logf("No voice required");
|
||||
return;
|
||||
}
|
||||
|
||||
voice_buf_hid = core_alloc_ex("voice buf", sizeof (*voice_buf), &ops);
|
||||
|
||||
if (voice_buf_hid <= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue