summaryrefslogtreecommitdiffstats
path: root/firmware/export/logf.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 22:54:23 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 22:54:23 +0000
commit20b0dd2788794521ac7f3eec1065b7de99e4a5aa (patch)
treeef44f6d28e4674e6a4dda8e36187e9723186cb2e /firmware/export/logf.h
parent249392c2d33130b86e39ad36d99cc2673842e37d (diff)
downloadrockbox-20b0dd2788794521ac7f3eec1065b7de99e4a5aa.tar.gz
rockbox-20b0dd2788794521ac7f3eec1065b7de99e4a5aa.tar.bz2
rockbox-20b0dd2788794521ac7f3eec1065b7de99e4a5aa.zip
A new implementation of logf, logfdisplay and logfdump.
Flyspray: FS#10528 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22462 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/logf.h')
-rw-r--r--firmware/export/logf.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/firmware/export/logf.h b/firmware/export/logf.h
index 4926fe5ef2..16666449d4 100644
--- a/firmware/export/logf.h
+++ b/firmware/export/logf.h
@@ -28,15 +28,10 @@
#ifdef ROCKBOX_HAS_LOGF
#ifndef __PCTOOL__
-#define MAX_LOGF_LINES 1000
-#define MAX_LOGF_ENTRY 29
-#define MAX_LOGF_ONE_LINE_SIZE 200
-#define LOGF_TERMINATE_ONE_LINE 0x00
-#define LOGF_TERMINATE_CONTINUE_LINE 0x01
-#define LOGF_TERMINATE_MULTI_LINE 0x02
+#define MAX_LOGF_SIZE 16384
-extern unsigned char logfbuffer[MAX_LOGF_LINES][MAX_LOGF_ENTRY+1];
+extern unsigned char logfbuffer[MAX_LOGF_SIZE];
extern int logfindex;
extern bool logfwrap;
#endif /* __PCTOOL__ */