summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/grey_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/grey_core.c')
-rw-r--r--apps/plugins/lib/grey_core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index 55d0684103..9686f1d021 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -845,7 +845,7 @@ static void grey_screendump_hook(int fd)
845 gsrc = _grey_info.values + _GREY_MULUQ(_grey_info.width, gy); 845 gsrc = _grey_info.values + _GREY_MULUQ(_grey_info.width, gy);
846 846
847#if LCD_DEPTH == 2 847#if LCD_DEPTH == 2
848 src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_FBWIDTH, y); 848 src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_FBWIDTH, y);
849 849
850 do 850 do
851 { 851 {
@@ -876,7 +876,7 @@ static void grey_screendump_hook(int fd)
876 876
877#if LCD_DEPTH == 1 877#if LCD_DEPTH == 1
878 mask = BIT_N(y & 7); 878 mask = BIT_N(y & 7);
879 src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); 879 src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3);
880 880
881 do 881 do
882 { 882 {
@@ -908,7 +908,7 @@ static void grey_screendump_hook(int fd)
908 908
909#elif LCD_DEPTH == 2 909#elif LCD_DEPTH == 2
910 shift = 2 * (y & 3); 910 shift = 2 * (y & 3);
911 src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 2); 911 src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 2);
912 912
913 do 913 do
914 { 914 {
@@ -933,7 +933,7 @@ static void grey_screendump_hook(int fd)
933 933
934#if LCD_DEPTH == 2 934#if LCD_DEPTH == 2
935 shift = y & 7; 935 shift = y & 7;
936 src = rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3); 936 src = *rb->lcd_framebuffer + _GREY_MULUQ(LCD_WIDTH, y >> 3);
937 937
938 do 938 do
939 { 939 {