summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/bmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 9214422bf0..d6f61d1c87 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -494,7 +494,9 @@ int read_bmp_fd(int fd,
unsigned int resize = IMG_NORESIZE;
#ifdef HAVE_REMOTE_LCD
+ bool remote = false;
if (format & FORMAT_REMOTE) {
+ remote = true;
#if LCD_REMOTE_DEPTH == 1
format = FORMAT_MONO;
#endif