Agptek Rocker: fix rockboy pallete

Contributed by Aapo Tahkola.

Change-Id: Ibee14d4f307b2198c5c47f9593734bd5d31d379b
This commit is contained in:
Marcin Bukat 2018-04-10 14:13:35 +02:00
parent fbaa97496f
commit 1af78b99d9

View file

@ -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) */