diff options
Diffstat (limited to 'firmware/screendump.c')
-rw-r--r-- | firmware/screendump.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/screendump.c b/firmware/screendump.c index 2916cc1c9f..e27360b137 100644 --- a/firmware/screendump.c +++ b/firmware/screendump.c | |||
@@ -1,10 +1,10 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * __________ __ ___. | 2 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 8 | * $Id$ |
9 | * | 9 | * |
10 | * Copyright (C) 2009 by Jens Arnold | 10 | * Copyright (C) 2009 by Jens Arnold |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #ifdef HAVE_REMOTE_LCD | 33 | #ifdef HAVE_REMOTE_LCD |
34 | #include "lcd-remote.h" | 34 | #include "lcd-remote.h" |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #if LCD_DEPTH == 16 | 37 | #if LCD_DEPTH == 16 |
38 | #define BMP_COMPRESSION 3 /* BI_BITFIELDS */ | 38 | #define BMP_COMPRESSION 3 /* BI_BITFIELDS */ |
@@ -144,7 +144,7 @@ void screen_dump(void) | |||
144 | 144 | ||
145 | /* BMP image goes bottom up */ | 145 | /* BMP image goes bottom up */ |
146 | for (y = LCD_HEIGHT - 1; y >= 0; y--) | 146 | for (y = LCD_HEIGHT - 1; y >= 0; y--) |
147 | { | 147 | { |
148 | memset(linebuf, 0, DUMP_BMP_LINESIZE); | 148 | memset(linebuf, 0, DUMP_BMP_LINESIZE); |
149 | 149 | ||
150 | #if defined(HAVE_LCD_SPLIT) && (LCD_SPLIT_LINES == 2) | 150 | #if defined(HAVE_LCD_SPLIT) && (LCD_SPLIT_LINES == 2) |
@@ -153,7 +153,7 @@ void screen_dump(void) | |||
153 | write(fd, linebuf, DUMP_BMP_LINESIZE); | 153 | write(fd, linebuf, DUMP_BMP_LINESIZE); |
154 | write(fd, linebuf, DUMP_BMP_LINESIZE); | 154 | write(fd, linebuf, DUMP_BMP_LINESIZE); |
155 | } | 155 | } |
156 | #endif | 156 | #endif |
157 | dst = linebuf; | 157 | dst = linebuf; |
158 | 158 | ||
159 | #if LCD_DEPTH == 1 | 159 | #if LCD_DEPTH == 1 |
@@ -219,7 +219,7 @@ void screen_dump(void) | |||
219 | #elif LCD_DEPTH == 16 | 219 | #elif LCD_DEPTH == 16 |
220 | dst_end = dst + LCD_WIDTH; | 220 | dst_end = dst + LCD_WIDTH; |
221 | src = FBADDR(0, y); | 221 | src = FBADDR(0, y); |
222 | 222 | ||
223 | do | 223 | do |
224 | { | 224 | { |
225 | #if (LCD_PIXELFORMAT == RGB565SWAPPED) | 225 | #if (LCD_PIXELFORMAT == RGB565SWAPPED) |