summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-07-31 12:43:06 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-07-31 12:43:06 +0000
commit60b01fa0f7e5126406d1fd2f37cce82d2faffdc4 (patch)
treeb3cea13c807d90e3c522bc60e249806f9b5cc15b /firmware/target/arm/iriver/h10/lcd-h10_20gb.c
parente95d7a0e76261f936b0eee64dfa0c6090bfb1b8c (diff)
Straignten out some issues with HAVE_LCD_ENABLE. 1g/2g/3g had it defined but it shouldn't have been. lcd_enabled() was only available as a real function on gigabeat but others can use that too. Markup lcd.h a bit because I got a bit lost in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14100 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10/lcd-h10_20gb.c')
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_20gb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
index 5ef18b41ad..f6ea87c1d0 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
@@ -379,6 +379,11 @@ void lcd_enable(bool on)
}
}
+bool lcd_enabled(void)
+{
+ return display_on;
+}
+
void lcd_sleep(void)
{
if (power_on)