summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-31 22:02:41 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-31 22:02:41 +0000
commit603a9c7c7ded195de7af15a35d10f5961f2e88f1 (patch)
treeff215c32de10e82172bf953ae7e043ddc5d353bb /firmware/export
parentee593c95e22b0361431f97dcc8a91c0264a5485a (diff)
downloadrockbox-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.h13
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 @@
29#define HAVE_LCD_BITMAP 29#define HAVE_LCD_BITMAP
30 30
31/* define this if you have a light associated with the buttons */ 31/* define this if you have a light associated with the buttons */
32//#define HAVE_BUTTON_LIGHT 32#define HAVE_BUTTON_LIGHT
33 33
34/* define this if you have access to the quickscreen */ 34/* define this if you have access to the quickscreen */
35//#define HAVE_QUICKSCREEN 35//#define HAVE_QUICKSCREEN
@@ -47,12 +47,11 @@
47#define LCD_PIXELFORMAT VERTICAL_PACKING 47#define LCD_PIXELFORMAT VERTICAL_PACKING
48 48
49/* define this if you have LCD enable function */ 49/* define this if you have LCD enable function */
50//#define HAVE_LCD_ENABLE 50#define HAVE_LCD_ENABLE
51 51
52#ifndef BOOTLOADER 52#ifndef BOOTLOADER
53 53/* Define this if your LCD can be put to sleep.
54/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE 54 * HAVE_LCD_ENABLE should be defined as well. */
55 should be defined as well. */
56//#define HAVE_LCD_SLEEP 55//#define HAVE_LCD_SLEEP
57//#define HAVE_LCD_SLEEP_SETTING 56//#define HAVE_LCD_SLEEP_SETTING
58#endif 57#endif
@@ -91,6 +90,10 @@
91//#define CONFIG_TUNER LV24020LP 90//#define CONFIG_TUNER LV24020LP
92//#define HAVE_TUNER_PWR_CTRL 91//#define HAVE_TUNER_PWR_CTRL
93 92
93/* Define this for LCD backlight available */
94#define HAVE_BACKLIGHT
95//#define HAVE_BACKLIGHT_BRIGHTNESS /* TODO */
96
94/* define this if you have a flash memory storage */ 97/* define this if you have a flash memory storage */
95#define HAVE_FLASH_STORAGE 98#define HAVE_FLASH_STORAGE
96 99