summaryrefslogtreecommitdiffstats
path: root/firmware/export/logf.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-24 14:27:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-24 14:27:17 +0000
commit999f6b5b4aef9d9629f333d6db98f0c3a71f4255 (patch)
treed4aea0ff6a46953df87630ae499f6676ab57996f /firmware/export/logf.h
parent11bf87fefa5e2402e8dccf20d141612bd9a9b3d7 (diff)
downloadrockbox-999f6b5b4aef9d9629f333d6db98f0c3a71f4255.tar.gz
rockbox-999f6b5b4aef9d9629f333d6db98f0c3a71f4255.tar.bz2
rockbox-999f6b5b4aef9d9629f333d6db98f0c3a71f4255.zip
update to the new logf style and moved the defines here too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/logf.h')
-rw-r--r--firmware/export/logf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/logf.h b/firmware/export/logf.h
index dc8c699ab2..af7d7eeb34 100644
--- a/firmware/export/logf.h
+++ b/firmware/export/logf.h
@@ -19,9 +19,11 @@
#ifndef LOGF_H
#define LOGF_H
-extern unsigned char logfbuffer[];
-extern unsigned char *logfptr;
-extern unsigned char *logfend;
+#define MAX_LOGF_LINES 1000
+#define MAX_LOGF_DATASIZE (16*MAX_LOGF_LINES)
+
+extern unsigned char logfbuffer[MAX_LOGF_LINES][16];
+extern int logfindex;
extern bool logfwrap;
void logf(const char *format, ...);