diff options
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 806d97081b..eb9bf903a6 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -197,7 +197,7 @@ int read_bmp_file(char* filename, | |||
197 | totalsize = PaddedHeight * width; | 197 | totalsize = PaddedHeight * width; |
198 | } else { | 198 | } else { |
199 | #if LCD_DEPTH == 2 | 199 | #if LCD_DEPTH == 2 |
200 | PaddedHeight = height/4; | 200 | PaddedHeight = (height + 3) / 4; |
201 | #else | 201 | #else |
202 | PaddedHeight = height; | 202 | PaddedHeight = height; |
203 | #endif | 203 | #endif |