From 2f9e3cae2c567185a501f4e2a301665452a83350 Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Wed, 6 Mar 2013 22:24:40 +0100 Subject: 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 --- firmware/export/config/samsungypr0.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/export/config') 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 @@ /* define this if you have a colour LCD */ #define HAVE_LCD_COLOR -/* define this if the LCD needs to be shutdown */ +/* Define this if the LCD can shut down */ #define HAVE_LCD_SHUTDOWN +/* define this if you have LCD enable function */ +#define HAVE_LCD_ENABLE + /* define this if you want album art for this target */ #define HAVE_ALBUMART -- cgit v1.2.3