summaryrefslogtreecommitdiffstats
path: root/firmware/logf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-30 13:00:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-30 13:00:43 +0000
commitedc07922eb9e179e7cada5bae60828d72f71c207 (patch)
tree81c6c560b1b2bbe39e6c229ffa4d6f248f28c295 /firmware/logf.c
parentc3b1eceff1daae7fdb7348bb70b309c37d3f6376 (diff)
downloadrockbox-edc07922eb9e179e7cada5bae60828d72f71c207.tar.gz
rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.tar.bz2
rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.zip
(Optional) logf support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6538 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index ac25d65690..ab3d621428 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -33,6 +33,9 @@
#include "lcd-remote.h"
#include "logf.h"
+/* Only provide all this if asked to */
+#ifdef ROCKBOX_HAS_LOGF
+
unsigned char logfbuffer[MAX_LOGF_LINES][16];
int logfindex;
bool logfwrap;
@@ -96,3 +99,5 @@ void logf(const char *format, ...)
displayremote();
}
+
+#endif