summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-08-15 07:06:53 +0000
committerHristo Kovachev <bger@rockbox.org>2006-08-15 07:06:53 +0000
commitd39b79737ff49f1421382ffb670367cecf0d7789 (patch)
tree9fa11f7017392713b70008ff790b7914a97448dc
parent5019b326205c2d0377111b0b9ce1b08cb9624b69 (diff)
downloadrockbox-d39b79737ff49f1421382ffb670367cecf0d7789.tar.gz
rockbox-d39b79737ff49f1421382ffb670367cecf0d7789.zip
Patch #5223 by Jonathan Gordon: Turn on the main screen's backlight when using the iriver NON-LCD remote (set the remote backlight to off if you don't want it)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10574 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/backlight.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index f35e87a81d..b3fa5afb6a 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -465,7 +465,14 @@ static void remote_backlight_update_state(void)
}
else
{
- __remote_backlight_on();
+#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
+ if (remote_type() == REMOTETYPE_H300_NONLCD)
+ {
+ backlight_update_state();
+ }
+ else
+#endif
+ __remote_backlight_on();
}
}
#endif /* HAVE_REMOTE_LCD */