summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r--apps/recorder/bmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index e4eb588eb3..dfd6a0474e 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -38,6 +38,7 @@
ahead by whole lines, or read the next chunk of the current line
*/
+#define ROCKBOX_DEBUG_BMP_LOADER
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -53,7 +54,7 @@
#include "lcd-remote.h"
#endif
#ifdef ROCKBOX_DEBUG_BMP_LOADER
-#define BDEBUGF DEBUGF
+#define BDEBUGF printf
#else
#define BDEBUGF(...)
#endif
@@ -774,6 +775,7 @@ int read_bmp_fd(int fd,
#endif
.alpha_detected = false, .first_alpha_byte = 0x80,
.order = order,
+ .buf = NULL,
};
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \