summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-06-20 01:12:14 +0200
committerFrank Gevaerts <frank@gevaerts.be>2012-06-20 01:13:51 +0200
commit0c3934f917ffec02123b691b6979d06eaa17137b (patch)
tree6629cca4fc896300ed29fd265d15a2bbbec44e69 /firmware
parentf62009303a8bb9d02462e4eebbbded66c56891b0 (diff)
downloadrockbox-0c3934f917ffec02123b691b6979d06eaa17137b.tar.gz
rockbox-0c3934f917ffec02123b691b6979d06eaa17137b.zip
Use RGB565 define instead of plain 565.
Pixelformats should always use the defines, not the raw values. Change-Id: Id60a73385bb6cc4e8f8d1f8b292489d066f1e13f
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/android.h2
-rw-r--r--firmware/export/config/cowond2.h2
-rw-r--r--firmware/export/config/nokian8xx.h2
-rw-r--r--firmware/export/config/nokian900.h2
-rw-r--r--firmware/export/config/pandora.h2
-rw-r--r--firmware/export/config/samsungypr0.h2
-rw-r--r--firmware/export/config/sdlapp.h2
7 files changed, 7 insertions, 7 deletions
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