1
0
Fork 0
forked from len0rd/rockbox

Grayscale library: LCD linearisation and gamma correction.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-08-02 00:22:01 +00:00
parent 8cc73f152b
commit 628d20a610
11 changed files with 251 additions and 48 deletions

View file

@ -332,7 +332,7 @@ int main(void)
shades = 256;
#else
shades = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8,
32, NULL) + 1;
32, 2<<8, NULL) + 1;
if(shades <= 1)
{
rb->splash(HZ, true, "not enough memory");