From 603a9c7c7ded195de7af15a35d10f5961f2e88f1 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 31 Oct 2008 22:02:41 +0000 Subject: Clip: add backlight and buttonlight code Revive lcd_enable() as well, and use it in _backlight_on/off() Don't update the lcd framebuffer if the display is off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-clip.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'firmware/export/config-clip.h') diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h index 591ec1012a..95a708efef 100644 --- a/firmware/export/config-clip.h +++ b/firmware/export/config-clip.h @@ -29,7 +29,7 @@ #define HAVE_LCD_BITMAP /* define this if you have a light associated with the buttons */ -//#define HAVE_BUTTON_LIGHT +#define HAVE_BUTTON_LIGHT /* define this if you have access to the quickscreen */ //#define HAVE_QUICKSCREEN @@ -47,12 +47,11 @@ #define LCD_PIXELFORMAT VERTICAL_PACKING /* define this if you have LCD enable function */ -//#define HAVE_LCD_ENABLE +#define HAVE_LCD_ENABLE #ifndef BOOTLOADER - -/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE - should be defined as well. */ +/* Define this if your LCD can be put to sleep. + * HAVE_LCD_ENABLE should be defined as well. */ //#define HAVE_LCD_SLEEP //#define HAVE_LCD_SLEEP_SETTING #endif @@ -91,6 +90,10 @@ //#define CONFIG_TUNER LV24020LP //#define HAVE_TUNER_PWR_CTRL +/* Define this for LCD backlight available */ +#define HAVE_BACKLIGHT +//#define HAVE_BACKLIGHT_BRIGHTNESS /* TODO */ + /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE -- cgit v1.2.3