forked from len0rd/rockbox
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
This commit is contained in:
parent
ee593c95e2
commit
603a9c7c7d
34 changed files with 184 additions and 97 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue