summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-06-21 00:20:24 +0200
committerThomas Martitz <kugel@rockbox.org>2014-06-21 00:20:24 +0200
commitdbb76896ec5a7d698bed16bb218ae8df51b3d961 (patch)
tree39244b77ce6f8c22371a44b1fe60e2484f131e4d
parenta1842c04f9cb73210d4cacde61a9e4b115050765 (diff)
downloadrockbox-dbb76896ec5a7d698bed16bb218ae8df51b3d961.zip
rockbox-dbb76896ec5a7d698bed16bb218ae8df51b3d961.tar.gz
rockbox-dbb76896ec5a7d698bed16bb218ae8df51b3d961.tar.bz2
rockbox-dbb76896ec5a7d698bed16bb218ae8df51b3d961.tar.xz
lcd-24bit: fix up previous commit a1842c0
* e200v2 shouldn't use 24bit (was just for testing) * samsung ypr0/ypr1 should enable it but the correct number must be passed to bmp2rb Change-Id: Ia91b0ff80a54265d4c3111d9dcb8e7b9dd12b5d4
-rw-r--r--firmware/export/config/sansae200v2.h4
-rwxr-xr-xtools/configure4
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index e70b409..c703439 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -53,8 +53,8 @@
#define LCD_HEIGHT 220
/* sqrt(176^2 + 220^2) / 1.8 = 156.5 */
#define LCD_DPI 157
-#define LCD_DEPTH 24 /* 65536 colours */
-#define LCD_PIXELFORMAT RGB888 /* rgb565 */
+#define LCD_DEPTH 16 /* 65536 colours */
+#define LCD_PIXELFORMAT RGB565 /* rgb565 */
#ifndef BOOTLOADER
/* define this if you have LCD enable function */
diff --git a/tools/configure b/tools/configure
index 30687b2..d3312c0 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3474,7 +3474,7 @@ fi
tool="cp "
boottool="cp "
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
- bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
output="rockbox"
bootoutput="rockbox"
appextra="recorder:gui:radio"
@@ -3554,7 +3554,7 @@ fi
tool="cp "
boottool="cp "
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
- bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 9"
output="rockbox"
bootoutput="rockbox"
appextra="recorder:gui:radio"