diff options
Diffstat (limited to 'firmware/logf.c')
-rw-r--r-- | firmware/logf.c | 5 |
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 | |||
36 | unsigned char logfbuffer[MAX_LOGF_LINES][16]; | 39 | unsigned char logfbuffer[MAX_LOGF_LINES][16]; |
37 | int logfindex; | 40 | int logfindex; |
38 | bool logfwrap; | 41 | bool logfwrap; |
@@ -96,3 +99,5 @@ void logf(const char *format, ...) | |||
96 | 99 | ||
97 | displayremote(); | 100 | displayremote(); |
98 | } | 101 | } |
102 | |||
103 | #endif | ||