summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/grey_core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index 88becb1336..18b2716d4d 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -718,12 +718,9 @@ void grey_deferred_lcd_update(void)
718#define BMP_BPP 8 718#define BMP_BPP 8
719#define BMP_LINESIZE ((LCD_WIDTH + 3) & ~3) 719#define BMP_LINESIZE ((LCD_WIDTH + 3) & ~3)
720#define BMP_HEADERSIZE (54 + 4 * BMP_NUMCOLORS) 720#define BMP_HEADERSIZE (54 + 4 * BMP_NUMCOLORS)
721#define BMP_DATASIZE (BMP_LINESIZE * LCD_HEIGHT) 721#define BMP_DATASIZE (BMP_LINESIZE * (LCD_HEIGHT+LCD_SPLIT_LINES))
722#define BMP_TOTALSIZE (BMP_HEADERSIZE + BMP_DATASIZE) 722#define BMP_TOTALSIZE (BMP_HEADERSIZE + BMP_DATASIZE)
723 723
724#define LE16_CONST(x) (x)&0xff, ((x)>>8)&0xff
725#define LE32_CONST(x) (x)&0xff, ((x)>>8)&0xff, ((x)>>16)&0xff, ((x)>>24)&0xff
726
727static const unsigned char bmpheader[] = 724static const unsigned char bmpheader[] =
728{ 725{
729 0x42, 0x4d, /* 'BM' */ 726 0x42, 0x4d, /* 'BM' */