Agptek Rocker: fix rockboy pallete
Contributed by Aapo Tahkola. Change-Id: Ibee14d4f307b2198c5c47f9593734bd5d31d379b
This commit is contained in:
parent
fbaa97496f
commit
1af78b99d9
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void vid_init(void)
|
|||
fb.enabled=1;
|
||||
|
||||
#if defined(HAVE_LCD_COLOR)
|
||||
#if LCD_DEPTH == 24
|
||||
#if LCD_DEPTH >= 24
|
||||
fb.cc[0].r = 0; /* 8-8 (wasted bits on red) */
|
||||
fb.cc[0].l = 16; /* this is the offset to the R bits (24-8) */
|
||||
fb.cc[1].r = 0; /* 8-6 (wasted bits on green) */
|
||||
|
|
Loading…
Reference in a new issue