summaryrefslogtreecommitdiff
path: root/firmware/logf.c
diff options
context:
space:
mode:
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 @@
33#include "lcd-remote.h" 33#include "lcd-remote.h"
34#include "logf.h" 34#include "logf.h"
35 35
36/* Only provide all this if asked to */
37#ifdef ROCKBOX_HAS_LOGF
38
36unsigned char logfbuffer[MAX_LOGF_LINES][16]; 39unsigned char logfbuffer[MAX_LOGF_LINES][16];
37int logfindex; 40int logfindex;
38bool logfwrap; 41bool logfwrap;
@@ -96,3 +99,5 @@ void logf(const char *format, ...)
96 99
97 displayremote(); 100 displayremote();
98} 101}
102
103#endif