diff options
Diffstat (limited to 'firmware/screendump.c')
-rw-r--r-- | firmware/screendump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/screendump.c b/firmware/screendump.c index 226d08a390..1acaaafba6 100644 --- a/firmware/screendump.c +++ b/firmware/screendump.c | |||
@@ -234,8 +234,8 @@ void screen_dump(void) | |||
234 | #endif | 234 | #endif |
235 | } | 235 | } |
236 | while (dst < dst_end); | 236 | while (dst < dst_end); |
237 | #elif LCD_DEPTH == 24 | 237 | #elif LCD_DEPTH >= 24 |
238 | dst_end = dst + LCD_WIDTH*3; | 238 | dst_end = dst + LCD_WIDTH*sizeof(fb_data); |
239 | src = FBADDR(0, y); | 239 | src = FBADDR(0, y); |
240 | do | 240 | do |
241 | { | 241 | { |