summaryrefslogtreecommitdiff
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-29 07:14:58 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-02 19:40:39 +0100
commit57000b513bd54b9dba3b308b7734c88962b81ae3 (patch)
tree925ae0106fd68f1b5cd77fd89aa48eaa7e35bf9b /apps/voice_thread.c
parent60dea95cad710095477a2f5e35bd5692f79f76da (diff)
downloadrockbox-57000b513bd54b9dba3b308b7734c88962b81ae3.tar.gz
rockbox-57000b513bd54b9dba3b308b7734c88962b81ae3.zip
talk: Make talk_voice_required() local to talk.c
Change-Id: I3a04760d550efab7f011a917597ef29c039b05bd
Diffstat (limited to 'apps/voice_thread.c')
-rw-r--r--apps/voice_thread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 3b6fe5b3ba..72ecb3741e 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -526,12 +526,6 @@ void voice_thread_init(void)
526 if (voice_thread_id != 0) 526 if (voice_thread_id != 0)
527 return; /* Already did an init and succeeded at it */ 527 return; /* Already did an init and succeeded at it */
528 528
529 if (!talk_voice_required())
530 {
531 logf("No voice required");
532 return;
533 }
534
535 voice_buf_hid = core_alloc_ex("voice buf", sizeof (*voice_buf), &ops); 529 voice_buf_hid = core_alloc_ex("voice buf", sizeof (*voice_buf), &ops);
536 530
537 if (voice_buf_hid <= 0) 531 if (voice_buf_hid <= 0)