diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 2968af35da..1d5d378708 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -598,8 +598,11 @@ int read_bmp_fd(int fd, if(return_size) { +#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ + defined(HAVE_BMP_SCALING) || defined(PLUGIN) if(resize) totalsize += BM_SCALED_SIZE(bm->width, 0, 0, 0); +#endif return totalsize; }