diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-01-17 21:16:59 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-01-17 21:16:59 +0000 |
commit | b3303d70224adc28a982fd6b9ba729b7f0934f41 (patch) | |
tree | 49c1e082babd0ee833cbd8955e3898c53ccd32ab | |
parent | e6f403f5099bf469a4349ce5613f9ef330cd6240 (diff) |
iRiver fix: The larger LCD_HEIGHT needs larger area fill bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5588 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-h100.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 7047578550..075ba394b6 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -84,10 +84,14 @@ static int xoffset = 0; /* needed for flip */ unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; -/* All zeros and ones bitmaps for area filling */ -static const unsigned char zeros[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; -static const unsigned char ones[8] = { 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff}; +/* All zeros and ones bitmaps for area filling */ +static const unsigned char zeros[16] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +}; +static const unsigned char ones[16] = { + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff +}; int lcd_default_contrast(void) { |