From 09cd188596db54c4b752cbeebe5a10bcc9149eec Mon Sep 17 00:00:00 2001 From: Jeffrey Goode Date: Tue, 4 May 2010 14:43:01 +0000 Subject: Fix logf behavior in voice_thread.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25810 a1c6a512-1295-4272-9138-f99709370657 --- apps/voice_thread.c | 7 +++++-- 1 file 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 -- cgit v1.2.3