forked from len0rd/rockbox
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
This commit is contained in:
parent
e6f403f509
commit
b3303d7022
1 changed files with 8 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue