From 0c3934f917ffec02123b691b6979d06eaa17137b Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 20 Jun 2012 01:12:14 +0200 Subject: Use RGB565 define instead of plain 565. Pixelformats should always use the defines, not the raw values. Change-Id: Id60a73385bb6cc4e8f8d1f8b292489d066f1e13f --- firmware/export/config/android.h | 2 +- firmware/export/config/cowond2.h | 2 +- firmware/export/config/nokian8xx.h | 2 +- firmware/export/config/nokian900.h | 2 +- firmware/export/config/pandora.h | 2 +- firmware/export/config/samsungypr0.h | 2 +- firmware/export/config/sdlapp.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'firmware/export/config') diff --git a/firmware/export/config/android.h b/firmware/export/config/android.h index f563743e14..2bc11c3051 100644 --- a/firmware/export/config/android.h +++ b/firmware/export/config/android.h @@ -45,7 +45,7 @@ #endif #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 #define HAVE_LCD_ENABLE diff --git a/firmware/export/config/cowond2.h b/firmware/export/config/cowond2.h index e94701130f..d27589c878 100644 --- a/firmware/export/config/cowond2.h +++ b/firmware/export/config/cowond2.h @@ -74,7 +74,7 @@ #define LCD_HEIGHT 240 #define LCD_DPI 160 #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* define this if you have LCD enable function */ #define HAVE_LCD_ENABLE diff --git a/firmware/export/config/nokian8xx.h b/firmware/export/config/nokian8xx.h index 78148396f9..c8d87838e7 100644 --- a/firmware/export/config/nokian8xx.h +++ b/firmware/export/config/nokian8xx.h @@ -37,7 +37,7 @@ #define LCD_WIDTH 800 #define LCD_HEIGHT 480 #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* define this to indicate your device's keypad */ #define HAVE_TOUCHSCREEN diff --git a/firmware/export/config/nokian900.h b/firmware/export/config/nokian900.h index 09531eeef5..9c1c1a4dff 100644 --- a/firmware/export/config/nokian900.h +++ b/firmware/export/config/nokian900.h @@ -37,7 +37,7 @@ #define LCD_WIDTH 800 #define LCD_HEIGHT 480 #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* define this to indicate your device's keypad */ #define HAVE_TOUCHSCREEN diff --git a/firmware/export/config/pandora.h b/firmware/export/config/pandora.h index 2f42bffc3d..40320f5382 100644 --- a/firmware/export/config/pandora.h +++ b/firmware/export/config/pandora.h @@ -37,7 +37,7 @@ #define LCD_WIDTH 800 #define LCD_HEIGHT 480 #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* define this to indicate your device's keypad */ #define HAVE_TOUCHSCREEN diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h index 10d7aaecb8..e97dabcfb2 100644 --- a/firmware/export/config/samsungypr0.h +++ b/firmware/export/config/samsungypr0.h @@ -52,7 +52,7 @@ #define LCD_DEPTH 16 /* Check that but should not matter */ -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* YP-R0 has the backlight */ #define HAVE_BACKLIGHT diff --git a/firmware/export/config/sdlapp.h b/firmware/export/config/sdlapp.h index 674edd9e27..856244c6ab 100644 --- a/firmware/export/config/sdlapp.h +++ b/firmware/export/config/sdlapp.h @@ -45,7 +45,7 @@ #endif #define LCD_DEPTH 16 -#define LCD_PIXELFORMAT 565 +#define LCD_PIXELFORMAT RGB565 /* define this to indicate your device's keypad */ #define HAVE_TOUCHSCREEN -- cgit v1.2.3