summaryrefslogtreecommitdiffstats
path: root/firmware/debug.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-20 17:38:47 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-20 17:38:47 +0000
commitad500e1063124008e2c0fc5dc666a52e09bba018 (patch)
tree50a181f350237c26aaa74d015af7e6fa03f6bae2 /firmware/debug.c
parent66f8fb52a9114ece70e1771119096589004d29f0 (diff)
downloadrockbox-ad500e1063124008e2c0fc5dc666a52e09bba018.tar.gz
rockbox-ad500e1063124008e2c0fc5dc666a52e09bba018.tar.bz2
rockbox-ad500e1063124008e2c0fc5dc666a52e09bba018.zip
Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds.
Exclude compilation of firmware/debug.c for hosted platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28125 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/debug.c b/firmware/debug.c
index 94404586de..bc382335b6 100644
--- a/firmware/debug.c
+++ b/firmware/debug.c
@@ -35,7 +35,6 @@ static char debugbuf[400];
#endif
#endif
-#ifndef SIMULATOR /* allow non archos platforms to display output */
#include "kernel.h"
#include "system.h"
#include "debug.h"
@@ -257,4 +256,3 @@ void debugf(const char *fmt, ...)
#endif
}
-#endif