diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-31 22:02:41 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-31 22:02:41 +0000 |
commit | 603a9c7c7ded195de7af15a35d10f5961f2e88f1 (patch) | |
tree | ff215c32de10e82172bf953ae7e043ddc5d353bb /firmware/export | |
parent | ee593c95e22b0361431f97dcc8a91c0264a5485a (diff) | |
download | rockbox-603a9c7c7ded195de7af15a35d10f5961f2e88f1.tar.gz rockbox-603a9c7c7ded195de7af15a35d10f5961f2e88f1.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-clip.h | 13 |
1 files changed, 8 insertions, 5 deletions
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 |