summaryrefslogtreecommitdiff
path: root/firmware/export/config/samsungypr0.h
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2013-03-06 22:24:40 +0100
committerThomas Martitz <kugel@rockbox.org>2013-03-06 23:23:52 +0100
commit2f9e3cae2c567185a501f4e2a301665452a83350 (patch)
treed7f13e767bd794d6157d50aeb3d68383dc25a137 /firmware/export/config/samsungypr0.h
parent8ef8ea2da2fb800832293054dd41be342f77764d (diff)
downloadrockbox-2f9e3cae2c567185a501f4e2a301665452a83350.tar.gz
rockbox-2f9e3cae2c567185a501f4e2a301665452a83350.zip
Samsung YP-R0 LCD improvements
This patch adds to YP-R0 (and other future targets using Linux framebuffer) the ability to use LCD_ENABLE to save some CPU cycles while display is powered off. This patch also changes the way to toggle LCD power: now using a proper ioctl call, slightly more efficient. Change-Id: I544de77f5abd4ac1c13d3fe3a6e40a30f7c0bece Reviewed-on: http://gerrit.rockbox.org/410 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Diffstat (limited to 'firmware/export/config/samsungypr0.h')
-rw-r--r--firmware/export/config/samsungypr0.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index c81fc645bb..970879772f 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -21,9 +21,12 @@
21/* define this if you have a colour LCD */ 21/* define this if you have a colour LCD */
22#define HAVE_LCD_COLOR 22#define HAVE_LCD_COLOR
23 23
24/* define this if the LCD needs to be shutdown */ 24/* Define this if the LCD can shut down */
25#define HAVE_LCD_SHUTDOWN 25#define HAVE_LCD_SHUTDOWN
26 26
27/* define this if you have LCD enable function */
28#define HAVE_LCD_ENABLE
29
27/* define this if you want album art for this target */ 30/* define this if you want album art for this target */
28#define HAVE_ALBUMART 31#define HAVE_ALBUMART
29 32