diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-10-24 22:06:36 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-10-24 22:06:36 +0000 |
| commit | fb709522283bfb7558bf2b824a4143a919d59e97 (patch) | |
| tree | 70b1c52bcd1c3e6aaa89e322674b5afe2b780467 /apps/codecs.c | |
| parent | 4c22f0bf73ce06b4c82cc92d636067aacf061d72 (diff) | |
| download | rockbox-fb709522283bfb7558bf2b824a4143a919d59e97.zip rockbox-fb709522283bfb7558bf2b824a4143a919d59e97.tar.gz rockbox-fb709522283bfb7558bf2b824a4143a919d59e97.tar.bz2 rockbox-fb709522283bfb7558bf2b824a4143a919d59e97.tar.xz | |
logf changes:
* Disable logf by default and allow per-file enabling with "#define LOGF_ENABLE". To enable globally add that define in the config.h file.
* Transform logf calls into DEBUGF calls when ROCKBOX_HAS_LOGF isn't defined, so that they get printed to the console in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15291 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.c')
| -rw-r--r-- | apps/codecs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 35cce6a..e41e047 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -30,7 +30,6 @@ #include "file.h" #include "kernel.h" #include "sprintf.h" -#include "logf.h" #include "screens.h" #include "misc.h" #include "mas.h" @@ -51,6 +50,9 @@ #include "splash.h" #include "general.h" +#define LOGF_ENABLE +#include "logf.h" + #ifdef SIMULATOR #if CONFIG_CODEC == SWCODEC unsigned char codecbuf[CODEC_SIZE]; |