diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index 69cb7d3174..be1c3202fb 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -103,7 +103,7 @@ int main(int argc, char **argv) | |||
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | #ifdef SCREENDUMP | 105 | #ifdef SCREENDUMP |
106 | extern unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; | 106 | extern unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; |
107 | static unsigned char bmpheader[] = | 107 | static unsigned char bmpheader[] = |
108 | { | 108 | { |
109 | 0x42, 0x4d, 0x3e, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, | 109 | 0x42, 0x4d, 0x3e, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, |
@@ -131,7 +131,7 @@ void screen_dump(void) | |||
131 | { | 131 | { |
132 | for(x = 0;x < LCD_WIDTH;x++) | 132 | for(x = 0;x < LCD_WIDTH;x++) |
133 | { | 133 | { |
134 | buf[i++] = lcd_framebuffer[x][y]; | 134 | buf[i++] = lcd_framebuffer[y][x]; |
135 | } | 135 | } |
136 | } | 136 | } |
137 | 137 | ||