diff options
Diffstat (limited to 'apps/plugins/lib/grey_draw.c')
-rw-r--r-- | apps/plugins/lib/grey_draw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/lib/grey_draw.c b/apps/plugins/lib/grey_draw.c index 6df5556ec8..7b24ba4c70 100644 --- a/apps/plugins/lib/grey_draw.c +++ b/apps/plugins/lib/grey_draw.c | |||
@@ -635,8 +635,9 @@ void grey_ub_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, | |||
635 | + (~yc & _GREY_BMASK); | 635 | + (~yc & _GREY_BMASK); |
636 | #endif /* LCD_PIXELFORMAT */ | 636 | #endif /* LCD_PIXELFORMAT */ |
637 | 637 | ||
638 | #if (LCD_PIXELFORMAT == VERTICAL_PACKING) && (LCD_DEPTH == 2) \ | 638 | #if (LCD_PIXELFORMAT == VERTICAL_PACKING) && \ |
639 | && defined(CPU_COLDFIRE) | 639 | ((LCD_DEPTH == 2) && defined(CPU_COLDFIRE) \ |
640 | || (LCD_DEPTH == 1) && (CONFIG_CPU == SH7034)) | ||
640 | _grey_line1(width, dst + idx, src, _grey_info.gvalue); | 641 | _grey_line1(width, dst + idx, src, _grey_info.gvalue); |
641 | #else | 642 | #else |
642 | unsigned char *dst_row = dst + idx; | 643 | unsigned char *dst_row = dst + idx; |