diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-12-31 17:01:00 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-12-31 17:01:00 +0000 |
commit | 4c793febc8c4c828ab2bb7d7de3c37b05ac0cac2 (patch) | |
tree | d3804830e5ed45b93481c3111582bc42936f7772 /firmware/export | |
parent | d6def79dca7ed686196b860c9b160d1d0cbf93c5 (diff) |
Commit FS#9733 (multiline logf) by Yoshihisa Uchida
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19625 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/logf.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/export/logf.h b/firmware/export/logf.h index d3644b5985..4926fe5ef2 100644 --- a/firmware/export/logf.h +++ b/firmware/export/logf.h @@ -29,10 +29,14 @@ #ifndef __PCTOOL__ #define MAX_LOGF_LINES 1000 -#define MAX_LOGF_ENTRY 30 -#define MAX_LOGF_DATASIZE (MAX_LOGF_ENTRY*MAX_LOGF_LINES) +#define MAX_LOGF_ENTRY 29 +#define MAX_LOGF_ONE_LINE_SIZE 200 -extern unsigned char logfbuffer[MAX_LOGF_LINES][MAX_LOGF_ENTRY]; +#define LOGF_TERMINATE_ONE_LINE 0x00 +#define LOGF_TERMINATE_CONTINUE_LINE 0x01 +#define LOGF_TERMINATE_MULTI_LINE 0x02 + +extern unsigned char logfbuffer[MAX_LOGF_LINES][MAX_LOGF_ENTRY+1]; extern int logfindex; extern bool logfwrap; #endif /* __PCTOOL__ */ |