summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-12-20 23:15:27 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-12-20 23:15:27 +0000
commit67f00224fb8bbf92ffe952d163f35ed437b698d5 (patch)
tree1ecf9d36fdbc8830b98a77e5157d96be43196bb8 /firmware/export
parentca1a1ab141f745660ebceae9d70b827314ea29b8 (diff)
patch #1385256 by Hristo Kovachev - Turn off H300 LCD while backlight is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 46f33d522a..6bb54f5dd0 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -187,6 +187,10 @@ extern fb_data lcd_framebuffer[LCD_HEIGHT/4][LCD_WIDTH];
extern fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH];
#endif
+#if CONFIG_BACKLIGHT==BL_IRIVER_H300
+extern void lcd_enable(bool on);
+#endif
+
extern void lcd_set_invert_display(bool yesno);
extern void lcd_set_flip(bool yesno);
extern void lcd_roll(int pixels);