summaryrefslogtreecommitdiffstats
path: root/apps/voice_thread.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-04 14:43:01 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-04 14:43:01 +0000
commit09cd188596db54c4b752cbeebe5a10bcc9149eec (patch)
treec753e9385d6b817716544d6b6d3fa797ed2b25ff /apps/voice_thread.c
parent054ddfd0c6735505920690d51da2d9b32e1e47ae (diff)
downloadrockbox-09cd188596db54c4b752cbeebe5a10bcc9149eec.tar.gz
rockbox-09cd188596db54c4b752cbeebe5a10bcc9149eec.tar.bz2
rockbox-09cd188596db54c4b752cbeebe5a10bcc9149eec.zip
Fix logf behavior in voice_thread.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/voice_thread.c')
-rw-r--r--apps/voice_thread.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 86e80cece3..fdf61afc6d 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -20,7 +20,6 @@
****************************************************************************/
#include "system.h"
#include "thread.h"
-#include "logf.h"
#include "voice_thread.h"
#include "talk.h"
#include "dsp.h"
@@ -29,10 +28,14 @@
#include "pcmbuf.h"
#include "codecs/libspeex/speex/speex.h"
-/* Define any of these as "1" to log regular and/or timeout messages */
+/* Define any of these as "1" and uncomment the LOGF_ENABLE line to log
+ regular and/or timeout messages */
#define VOICE_LOGQUEUES 0
#define VOICE_LOGQUEUES_SYS_TIMEOUT 0
+/*#define LOGF_ENABLE*/
+#include "logf.h"
+
#if VOICE_LOGQUEUES
#define LOGFQUEUE logf
#else