summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/creativezen.h6
-rw-r--r--firmware/export/config/creativezenxfi.h6
2 files changed, 4 insertions, 8 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
diff --git a/firmware/export/config/creativezenxfi.h b/firmware/export/config/creativezenxfi.h
index d70a452312..f74a2ca165 100644
--- a/firmware/export/config/creativezenxfi.h
+++ b/firmware/export/config/creativezenxfi.h
@@ -102,10 +102,8 @@
102#define LCD_HEIGHT 240 102#define LCD_HEIGHT 240
103/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */ 103/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */
104#define LCD_DPI 160 104#define LCD_DPI 160
105#define LCD_DEPTH 16 /* 65536 colours */ 105#define LCD_DEPTH 24 /* 65536 colours */
106#define LCD_PIXELFORMAT RGB565 /* rgb565 */ 106#define LCD_PIXELFORMAT RGB888 /* rgb565 */
107/* framebuffer uses 24-bit/pix */
108#define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3)
109 107
110/* Define this if you have a software controlled poweroff */ 108/* Define this if you have a software controlled poweroff */
111#define HAVE_SW_POWEROFF 109#define HAVE_SW_POWEROFF