summaryrefslogtreecommitdiffstats
path: root/firmware/export/logf.h
diff options
context:
space:
mode:
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, ...);