summaryrefslogtreecommitdiff
path: root/firmware/export/config/creativezen.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-06-22 12:55:41 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-06-24 18:07:55 +0200
commitd5591a2b28c4052c9cb7688ce09e66aa6add05bf (patch)
tree32957239734f2d44d456c51acb99864a7b67a460 /firmware/export/config/creativezen.h
parentcd4fb9ee798ccb11863aa98531852c2405bb6f8c (diff)
downloadrockbox-d5591a2b28c4052c9cb7688ce09e66aa6add05bf.tar.gz
rockbox-d5591a2b28c4052c9cb7688ce09e66aa6add05bf.zip
zen/zenxfi: switch lcd driver to 24-bit mode
Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
Diffstat (limited to 'firmware/export/config/creativezen.h')
-rw-r--r--firmware/export/config/creativezen.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/config/creativezen.h b/firmware/export/config/creativezen.h
index e41a246ccf..5b89438691 100644
--- a/firmware/export/config/creativezen.h
+++ b/firmware/export/config/creativezen.h
@@ -95,10 +95,8 @@
95#define LCD_HEIGHT 240 95#define LCD_HEIGHT 240
96/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */ 96/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */
97#define LCD_DPI 160 97#define LCD_DPI 160
98#define LCD_DEPTH 16 /* 65536 colours */ 98#define LCD_DEPTH 24 /* 65536 colours */
99#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 99#define LCD_PIXELFORMAT RGB888 /* rgb565 */
100/* framebuffer uses 24-bit/pix */
101#define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3)
102 100
103/* Define this if you have a software controlled poweroff */ 101/* Define this if you have a software controlled poweroff */
104#define HAVE_SW_POWEROFF 102#define HAVE_SW_POWEROFF